Module: Decidim::Webpacker::Runner
- Defined in:
- lib/decidim/webpacker/runner.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/decidim/webpacker/runner.rb', line 6 def self.included(base) base.alias_method :original_initialize, :initialize base.send :private, :original_initialize base.define_method :initialize do |argv| original_initialize(argv) decidim_initialize(argv) end end |