motion/core.rb in bubble-wrap-1.3.0 vs motion/core.rb in bubble-wrap-1.4.0
- old
+ new
@@ -14,10 +14,10 @@
else
UIColor.colorWithRed(r, green: g, blue:b, alpha:a)
end
end
- def localized_string(key, value)
+ def localized_string(key, value=nil)
NSBundle.mainBundle.localizedStringForKey(key, value:value, table:nil)
end
# I had issues with #p on the device, this is a temporary workaround
def p(arg)