Skip to content

Commit

Permalink
Revert "Reidline mode needs Reline what needs String#grapheme_clusters"
Browse files Browse the repository at this point in the history
This reverts commit 2b0b19b.

New IRB parser needs new Ripper what has lex_state too. The new Ripper is
adopted by Ruby 2.5 or later.
  • Loading branch information
aycabta committed Dec 7, 2019
1 parent 2b0b19b commit 9ab6e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irb/input-method.rb
Expand Up @@ -293,5 +293,5 @@ def line(line_no)
def encoding
@stdin.external_encoding
end
end if RUBY_VERSION >= "2.5.0" # Reline needs String#grapheme_clusters
end
end

0 comments on commit 9ab6e35

Please sign in to comment.