class Abyme::Generators::ResourceGenerator

Public Instance Methods

call_generators() click to toggle source
# File lib/generators/abyme/resource/resource_generator.rb, line 11
def call_generators
  Rails::Generators.invoke "abyme:model", [name, association, *attributes.map(&:name)]
  Rails::Generators.invoke "abyme:controller", [name]
  Rails::Generators.invoke "abyme:view", [association, *attributes.map(&:name)]
end