lib/ronin/ui/output/helpers.rb in ronin-support-0.5.0 vs lib/ronin/ui/output/helpers.rb in ronin-support-0.5.1
- old
+ new
@@ -91,13 +91,11 @@
if argument.kind_of?(Array)
argument.each { |element| puts(element) }
else
str = case argument
when nil
- if RUBY_VERSION > '1.9'
- ''
- else
- 'nil'
+ if RUBY_VERSION > '1.9' then ''
+ else 'nil'
end
else
argument.to_s
end