lib/ProMotion/helpers/view_helper.rb in ProMotion-0.5.0 vs lib/ProMotion/helpers/view_helper.rb in ProMotion-0.5.2
- old
+ new
@@ -17,10 +17,10 @@
element
end
def frame_from_array(array)
return CGRectMake(array[0], array[1], array[2], array[3]) if array.length == 4
- Console.log(" - frame_from_array expects an array with four elements: [x, y, width, height]", withColor: Console::RED_COLOR)
+ Console.log(" - frame_from_array expects an array with four elements: [x, y, width, height]", with_color: Console::RED_COLOR)
CGRectZero
end
def content_height(view)
height = 0
\ No newline at end of file