Sha256: 2c9b101fb3402b5e3fb34d4006efe16db2209d51f7275ad97e50a79ae047bb6c
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
class ModelGenerator < BaseScaffold def build define_source_paths template("model.erb", Configuration.main_class_path(Configuration.models_package, "#{class_name}.java")) template("model_test.erb", Configuration.test_class_path(Configuration.models_package, "#{test_class_name}.java")) end def template_path "src/templates/models" end def source_root File.join(File.dirname(__FILE__), "templates") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
springmvc-scaffold-1.0.1 | lib/springmvc-scaffold/generators/scaffold/model/model_generator.rb |