lib/my.rb in doit-0.2.8 vs lib/my.rb in doit-0.3.0
- old
+ new
@@ -1,7 +1,8 @@
-class My
+My = Object.new
+class << My
- def self.verbose(what, txt)
+ def verbose(what, txt)
marker = '*'*4
arr = txt
arr = txt ? txt.split("\n") : '' unless Array === txt
if arr.length > 1
puts "#{marker} #{what} #{marker}"