lib/duck_puncher/ducks/method.rb in duck_puncher-5.0.0 vs lib/duck_puncher/ducks/method.rb in duck_puncher-5.0.1
- old
+ new
@@ -39,10 +39,10 @@
@lines
end
def to_s
if lines.any?
- lines.join.gsub /^\s{#{find_indent_size(lines.first)}}/, ''
+ lines.join.gsub(/^\s{#{find_indent_size(lines.first)}}/, '')
else
''
end
end