Module: Administrate::GeneratorHelpers

Included in:
Administrate::Generators::InstallGenerator, Administrate::Generators::RoutesGenerator, ViewGenerator
Defined in:
lib/administrate/generator_helpers.rb

Instance Method Summary collapse

Instance Method Details

#call_generator(generator, *args) ⇒ Object



3
4
5
# File 'lib/administrate/generator_helpers.rb', line 3

def call_generator(generator, *args)
  Rails::Generators.invoke(generator, args, generator_options)
end