motion/core/ios/device.rb in bubble-wrap-1.9.3 vs motion/core/ios/device.rb in bubble-wrap-1.9.4

- old
+ new

@@ -40,10 +40,10 @@ p "This method (rear_camera?) is DEPRECATED. Transition to using Device.camera.rear?" picker.isCameraDeviceAvailable(UIImagePickerControllerCameraDeviceRear) end def simulator? - @simulator_state ||= !(NSBundle.mainBundle.bundlePath.start_with? '/var/').nil? + @simulator_state ||= !NSBundle.mainBundle.bundlePath.start_with?('/var/') end # Returns the IOS SDK version currently running (i.e. "5.1" or "6.0" etc) # @return [String] the IOS SDK version currently running def ios_version