module PurplishFrame

Constants

VERSION

Public Instance Methods

ios?() click to toggle source
# File lib/purplish-frame/purplish_frame.rb, line 8
def ios?
  Kernel.const_defined?(:UIApplication)
end
osx?() click to toggle source
# File lib/purplish-frame/purplish_frame.rb, line 4
def osx?
  Kernel.const_defined?(:NSApplication)
end