Sha256: 02a8c91932c553631726783b36608d28826972f54306fa4ad9ded5c6fbfefa08

Contents?: true

Size: 614 Bytes

Versions: 8

Compression:

Stored size: 614 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

8 entries across 8 versions & 1 rubygems

Version Path
bubble-wrap-1.9.7 motion/shortcut.rb
bubble-wrap-1.9.6 motion/shortcut.rb
bubble-wrap-1.9.5 motion/shortcut.rb
bubble-wrap-1.9.4 motion/shortcut.rb
bubble-wrap-1.9.3 motion/shortcut.rb
bubble-wrap-1.9.2 motion/shortcut.rb
bubble-wrap-1.9.1 motion/shortcut.rb
bubble-wrap-1.9.0 motion/shortcut.rb