Sha256: 935e5e319d3a04f93f2abe858dbb5d55c0fac2af22bb3c2fa6bd0fb462fd8d94
Contents?: true
Size: 454 Bytes
Versions: 89
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true require "rails/generators" require "rails/generators/rails/plugin/plugin_generator" module Rails class Engine class Updater class << self def generator @generator ||= Rails::Generators::PluginGenerator.new ["plugin"], { engine: true }, { destination_root: ENGINE_ROOT } end def run(action) generator.send(action) end end end end end
Version data entries
89 entries across 81 versions & 6 rubygems