lib/phonetics/code_generator.rb in phonetics-3.0.8 vs lib/phonetics/code_generator.rb in phonetics-3.0.9
- old
+ new
@@ -65,10 +65,10 @@
end
end
def ruby_source
location = caller_locations.first
- "#{location.path.split('/')[-4..-1].join('/')}:#{location.lineno}"
+ "#{location.path.split('/')[-4..].join('/')}:#{location.lineno}"
end
def indent(depth, line)
write " #{' ' * depth}#{line}"
end