From 101dc866bfbbedde8ee944deb7c484ebf4c18722 Mon Sep 17 00:00:00 2001 From: Andrew Chalkley Date: Tue, 8 May 2012 22:12:08 +0100 Subject: [PATCH] Making the naming convention more consistant --- lib/kernel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kernel.rb b/lib/kernel.rb index 79486c7f..5bc3191e 100644 --- a/lib/kernel.rb +++ b/lib/kernel.rb @@ -26,7 +26,7 @@ def orientation case UIDevice.currentDevice.orientation when UIDeviceOrientationUnknown then :unknown when UIDeviceOrientationPortrait then :portrait - when UIDeviceOrientationPortraitUpsideDown then :upside_down_portrait + when UIDeviceOrientationPortraitUpsideDown then :portrait_upside_down when UIDeviceOrientationLandscapeLeft then :landscape_left when UIDeviceOrientationLandscapeRight then :landscape_right when UIDeviceOrientationFaceUp then :face_up