lib/ridgepole/diff.rb in ridgepole-0.7.0.beta2 vs lib/ridgepole/diff.rb in ridgepole-0.7.0.beta3
- old
+ new
@@ -411,9 +411,9 @@
obj1.pretty_inspect,
obj2.pretty_inspect,
:diff => '-u'
)
- diffy.to_s(:text).gsub(/\s+\z/m, '')
+ diffy.to_s(@options[:color] ? :color : :text).gsub(/\s+\z/m, '')
end
end