lib/picky/extensions/object.rb in picky-0.11.1 vs lib/picky/extensions/object.rb in picky-0.11.2
- old
+ new
@@ -1,11 +1,15 @@
-module Kernel
+class Object
-
+ # Puts a text in the form:
+ # 12:34:56: text here
+ #
def timed_exclaim text
exclaim "#{Time.now.strftime("%H:%M:%S")}: #{text}"
end
+ # Just puts the given text.
+ #
def exclaim text
puts text
end
end
\ No newline at end of file