Sha256: 93ade3fea7267c1c7d733c9929c5900d94c80ef196e5c070a3232e693c280497
Contents?: true
Size: 234 Bytes
Versions: 3
Compression:
Stored size: 234 Bytes
Contents
Merb::Generators::ModelGenerator.template :model_couchrest, :orm => :couchrest 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mohiam-merb_couchrest-0.1.3 | lib/generators/model.rb |
mohiam-merb_couchrest-0.1.4 | lib/generators/model.rb |
mohiam-merb_couchrest-0.1.6 | lib/generators/model.rb |