module BubbleWrap::Ext::Config

Public Class Methods

extended(base) click to toggle source
# 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

Public Instance Methods

config_with_bubblewrap() click to toggle source
# 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