Module: BubbleWrap::Ext::Config
- Defined in:
- lib/bubble-wrap/ext/motion_project_app.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
29 30 31 32 33 |
# File 'lib/bubble-wrap/ext/motion_project_app.rb', line 29 def self.extended(base) singleton_class = class << base; self; end singleton_class.send :alias_method, :config_without_bubblewrap, :config singleton_class.send :alias_method, :config, :config_with_bubblewrap end |
Instance Method Details
#config_with_bubblewrap ⇒ Object
23 24 25 26 27 |
# File 'lib/bubble-wrap/ext/motion_project_app.rb', line 23 def config_with_bubblewrap config_without_bubblewrap.tap do |c| ::BubbleWrap.after_config(c) end end |