lib/motion-kit/helpers/parent.rb in motion-kit-0.14.1 vs lib/motion-kit/helpers/parent.rb in motion-kit-0.14.2
- old
+ new
@@ -8,9 +8,13 @@
def initialize(element)
@element = element
end
+ def frame
+ try(:frame)
+ end
+
def origin
try(:frame, :origin)
end
def size