Sha256: e7fa93d0c699ea65bdb568047a7e7cd91f3d81b26a1205f0a1957c4ec676c990

Contents?: true

Size: 615 Bytes

Versions: 6

Compression:

Stored size: 615 Bytes

Contents

# Make sure that 
# Both BubbleWrap and BW are defined.  This file is depended on by everything
# else in BubbleWrap, so don't stuff anything in here unless you know why
# you're doing it.
module BubbleWrap
  SETTINGS = {}

  def self.debug=(val)
    BubbleWrap::SETTINGS[:debug] = val
  end

  def self.debug?
    BubbleWrap::SETTINGS[:debug]
  end

  def self.use_weak_callbacks=(val)
    BubbleWrap::SETTINGS[:use_weak_callbacks] = val
  end

  def self.use_weak_callbacks?
    BubbleWrap::SETTINGS[:use_weak_callbacks]
  end

  def version
    BubbleWrap::VERSION
  end
end

BW = BubbleWrap unless defined?(BW)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bubble-wrap-1.8.0 motion/shortcut.rb
bubble-wrap-1.7.1 motion/shortcut.rb
bubble-wrap-1.7.0 motion/shortcut.rb
bubble-wrap-1.6.0 motion/shortcut.rb
bubble-wrap-1.6.0.rc1 motion/shortcut.rb
bubble-wrap-1.5.0 motion/shortcut.rb