lib/sord/logging.rb in sord-0.5.0 vs lib/sord/logging.rb in sord-0.6.0
- old
+ new
@@ -59,11 +59,11 @@
# @param [String] msg The log message to write.
# @param [YARD::CodeObjects::Base] item The CodeObject which this log
# is associated with, if any. This is shown before the log message if it is
# specified.
def self.duck(msg, item=nil)
- generic(:ducl, '[DUCK ]'.cyan, msg, item)
+ generic(:duck, '[DUCK ]'.cyan, msg, item)
end
# Print an error message. This should be used for things which require the
# current process to stop.
# @param [String] msg The log message to write.
@@ -126,6 +126,6 @@
# @yieldreturn [void]
def self.add_hook(&blk)
@@hooks << blk
end
end
-end
\ No newline at end of file
+end