Sha256: e265914819261d27288542343ecced77b23160893126526041fbd7806fdcb87c

Contents?: true

Size: 239 Bytes

Versions: 5

Compression:

Stored size: 239 Bytes

Contents

Merb::Generators::ModelGenerator.template :model_mongomapper, :orm => :mongomapper do |t|
  t.source = File.dirname(__FILE__) / "templates/model/app/models/%file_name%.rb"
  t.destination = "app/models" / base_path / "#{file_name}.rb"
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
shingara-merb_mongomapper-0.1.2 lib/generators/model.rb
shingara-merb_mongomapper-0.1.3 lib/generators/model.rb
shingara-merb_mongomapper-0.1.4 lib/generators/model.rb
shingara-merb_mongomapper-0.1.5 lib/generators/model.rb
merb_mongomapper-0.1.7 lib/generators/model.rb