class Object

Constants

App
BW
Camera
Device
EM
Location
Media
Persistence
SampleNotification

Public Class Methods

configs() click to toggle source
# File spec/lib/bubble-wrap/ext/motion_project_app_spec.rb, line 10
def self.configs
  @configs ||= { :development => Object.new }
end
isCameraDeviceAvailable(c) click to toggle source
# File spec/motion/core/device/ios/camera_spec.rb, line 25
def self.isCameraDeviceAvailable(c)
  return true
end
isFlashAvailableForCameraDevice(c) click to toggle source
# File spec/motion/core/device/ios/camera_spec.rb, line 29
def self.isFlashAvailableForCameraDevice(c)
  return c == UIImagePickerControllerCameraDeviceFront
end
new() click to toggle source
# File spec/lib/bubble-wrap/ext/motion_project_config_spec.rb, line 9
def initialize
  @files = [ '/fake/a', '/fake/b' ]
  @dependencies = {}
end
setup() click to toggle source
# File spec/lib/bubble-wrap/ext/motion_project_app_spec.rb, line 9
def self.setup; end

Public Instance Methods

bar() click to toggle source
# File spec/motion/reactor/eventable_spec.rb, line 20
def bar; end
baz(r) click to toggle source
# File spec/motion/reactor/eventable_spec.rb, line 143
def baz(r); @proxy.proof += r; end
camera_picker() click to toggle source
# File spec/motion/core/device/ios/camera_spec.rb, line 1
def camera_picker
  @camera.instance_variable_get("@picker")
end
example_info() click to toggle source
# File spec/motion/core/device/ios/camera_spec.rb, line 5
def example_info
  { UIImagePickerControllerMediaType => KUTTypeImage,
    UIImagePickerControllerOriginalImage => UIImage.alloc.init,
    UIImagePickerControllerMediaURL => NSURL.alloc.init}
end
files_dependencies() click to toggle source
# File spec/lib/bubble-wrap/ext/motion_project_config_spec.rb, line 14
def files_dependencies
end
isCameraDeviceAvailable(c) click to toggle source
# File spec/motion/core/device/ios/camera_wrapper_spec.rb, line 11
def isCameraDeviceAvailable(c)
  c == UIImagePickerControllerCameraDeviceFront
end
isSourceTypeAvailable(c) click to toggle source
# File spec/motion/core/device/ios/camera_wrapper_spec.rb, line 14
def isSourceTypeAvailable(c)
  c == UIImagePickerControllerSourceTypeCamera
end
location_manager() click to toggle source
# File spec/motion/location/location_spec.rb, line 58
def location_manager
  BW::Location.instance_variable_get("@location_manager")
end
presentViewController(*args) click to toggle source
# File spec/motion/core/device/ios/camera_spec.rb, line 15
def presentViewController(*args)
  true
end
reset() click to toggle source
# File spec/motion/location/location_spec.rb, line 62
def reset
  CLLocationManager.enable(true)
  BW::Location.instance_variable_set("@callback", nil)
  BW::Location.instance_variable_set("@location_manager", nil)
end