Sha256: 20310fc68f8de07f7a3ccec5be8da5c1f42c5247631a5ef2e9766e15aa4edd45
Contents?: true
Size: 309 Bytes
Versions: 8
Compression:
Stored size: 309 Bytes
Contents
class RioResourceGenerator < Rails::Generator::NamedBase def manifest record do |m| m.dependency "resource", [name] + @args m.dependency "rio_model", [name] + @args m.template "controller.rb", "app/controllers/#{file_name}s_controller.rb", :collision => :force end end end
Version data entries
8 entries across 8 versions & 1 rubygems