lib/eye/utils/mini_active_support.rb in reel-eye-0.5 vs lib/eye/utils/mini_active_support.rb in reel-eye-0.5.1
- old
+ new
@@ -48,9 +48,14 @@
self[-1].is_a?(Hash) ? self.pop : {}
end
end
class Numeric
+ def percents
+ self
+ end
+ alias :percent :percents
+
def seconds
self
end
alias :second :seconds