lib/inch/language/ruby/provider/yard/nodoc_helper.rb in inch-0.5.0.rc5 vs lib/inch/language/ruby/provider/yard/nodoc_helper.rb in inch-0.5.0.rc6

- old
+ new

@@ -84,11 +84,11 @@ def get_line_no(filename, line_number) f = File.open(filename) line_number.times { f.gets } result = $LAST_READ_LINE f.close - result.encode("UTF-8", "binary", - invalid: :replace, undef: :replace, replace: "") + result.encode('UTF-8', 'binary', + invalid: :replace, undef: :replace, replace: '') end end end end end