Class: ModelGenerator
- Inherits:
-
BaseScaffold
show all
- Defined in:
- lib/vraptor-scaffold/generators/scaffold/model_generator/model_generator.rb
Instance Method Summary
collapse
#base_path, #class_name, #controller_class_name, #controller_test_class_name, #initialize, #model_list_name, #model_parameter_name, #repository_impl_name, #repository_interface_name, #repository_test_class_name, #test_class_name
Constructor Details
This class inherits a constructor from BaseScaffold
Instance Method Details
#source_root ⇒ Object
14
15
16
|
# File 'lib/vraptor-scaffold/generators/scaffold/model_generator/model_generator.rb', line 14
def source_root
File.join File.dirname(__FILE__), "templates"
end
|
#template_path ⇒ Object
10
11
12
|
# File 'lib/vraptor-scaffold/generators/scaffold/model_generator/model_generator.rb', line 10
def template_path
"src/templates/models"
end
|