lib/irb/cmd/edit.rb in irb-1.6.0 vs lib/irb/cmd/edit.rb in irb-1.6.1
- old
+ new
@@ -16,16 +16,9 @@
args
else # Otherwise, consider the input as a String for convenience
args.strip.dump
end
end
-
- private
-
- def string_literal?(args)
- sexp = Ripper.sexp(args)
- sexp && sexp.size == 2 && sexp.last&.first&.first == :string_literal
- end
end
def execute(*args)
path = args.first