Rails::Engine::Updater
Methods
G
R
Class Public methods
generator()
# File railties/lib/rails/engine/updater.rb, line 8
def generator
  @generator ||= Rails::Generators::PluginGenerator.new ["plugin"],
    { engine: true }, destination_root: ENGINE_ROOT
end
run(action)
# File railties/lib/rails/engine/updater.rb, line 13
def run(action)
  generator.send(action)
end