Sha256: 123b98e42a31e9557d4ff1afc1db4735d764923a594ea23d92fe4638cdd17de9

Contents?: true

Size: 328 Bytes

Versions: 18

Compression:

Stored size: 328 Bytes

Contents

module BubbleWrap
  module Device
    module_function

    # Shameless shorthand for accessing BubbleWrap::Screen
    def screen
      BubbleWrap::Device::Screen
    end

    # Delegates to BubbleWrap::Screen.retina?
    def retina?
      screen.retina?
    end
  end
end
::Device = BubbleWrap::Device unless defined?(::Device)

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bubble-wrap-1.9.7 motion/core/device.rb
bubble-wrap-1.9.6 motion/core/device.rb
bubble-wrap-1.9.5 motion/core/device.rb
bubble-wrap-1.9.4 motion/core/device.rb
bubble-wrap-1.9.3 motion/core/device.rb
bubble-wrap-1.9.2 motion/core/device.rb
bubble-wrap-1.9.1 motion/core/device.rb
bubble-wrap-1.9.0 motion/core/device.rb
bubble-wrap-1.8.0 motion/core/device.rb
bubble-wrap-1.7.1 motion/core/device.rb
bubble-wrap-1.7.0 motion/core/device.rb
bubble-wrap-1.6.0 motion/core/device.rb
bubble-wrap-1.6.0.rc1 motion/core/device.rb
bubble-wrap-1.5.0 motion/core/device.rb
bubble-wrap-1.5.0.rc1 motion/core/device.rb
bubble-wrap-1.4.0 motion/core/device.rb
bubble-wrap-1.3.0 motion/core/device.rb
bubble-wrap-1.3.0.osx motion/core/device.rb