Class: ActiveLdap::Generators::ModelGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveLdap::Generators::ModelGenerator
- Includes:
- ActiveLdap::GetTextSupport
- Defined in:
- lib/rails/generators/active_ldap/model/model_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_model ⇒ Object
18 19 20 |
# File 'lib/rails/generators/active_ldap/model/model_generator.rb', line 18 def create_model template 'model_active_ldap.rb', File.join('app/models', class_path, "#{file_name}.rb") end |