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