Methods
Class Public methods
generator()
📝 Source code
# File railties/lib/rails/engine/updater.rb, line 10
def generator
@generator ||= Rails::Generators::PluginGenerator.new ["plugin"],
{ engine: true }, { destination_root: ENGINE_ROOT }
end
🔎 See on GitHub
run(action)
📝 Source code
# File railties/lib/rails/engine/updater.rb, line 15
def run(action)
generator.send(action)
end
🔎 See on GitHub