lib/sexp.rb in sexp_processor-3.0.4 vs lib/sexp.rb in sexp_processor-3.0.5
- old
+ new
@@ -132,10 +132,10 @@
return Sexp.from_array(new)
end
def inspect # :nodoc:
sexp_str = self.map {|x|x.inspect}.join(', ')
- if line && ENV['VERBOSE'] then
+ if ENV['VERBOSE'] && line then
"s(#{sexp_str}).line(#{line})"
else
"s(#{sexp_str})"
end
end