lib/picky/extensions/object.rb in picky-4.1.0 vs lib/picky/extensions/object.rb in picky-4.2.0
- old
+ new
@@ -1,18 +1,20 @@
class Object # :nodoc:all
-
+
+ # TODO Remove.
+
# 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
- STDOUT.puts text
- STDOUT.flush
+ Picky.logger.info text
+ Picky.logger.flush
end
# Puts a text that informs the user of a missing gem.
#
def warn_gem_missing gem_name, message
\ No newline at end of file