We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:123
irb 1.0.0 in Ruby 2.6.6 shows error after input :123:
irb(main):001:0> :123 Traceback (most recent call last): 3: from /Users/jnito/.rbenv/versions/2.6.6/bin/irb:23:in `<main>' 2: from /Users/jnito/.rbenv/versions/2.6.6/bin/irb:23:in `load' 1: from /Users/jnito/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/irb-1.0.0/exe/irb:11:in `<top (required)>' SyntaxError ((irb):1: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END)
However, irb 1.3.5 in Ruby 3.0.2 shows nothing. I had to press Ctrl-C in order to continue operation:
irb(main):001:0: :123 irb(main):002:0: irb(main):003:0: ^C irb(main):001:0>
I think the behavior in irb 1.0.0 is more interactive than irb 1.3.5, especially for Ruby newbies.
irb(main):001:0> irb_info => Ruby version: 3.0.2 IRB version: irb 1.3.5 (2021-04-03) InputMethod: ReidlineInputMethod with Reline 0.2.5 RUBY_PLATFORM: arm64-darwin20
Terminal.app in macOS 11.4
Are you using ~/.irbrc and ~/.inputrc?
~/.irbrc
~/.inputrc
No.
The text was updated successfully, but these errors were encountered:
Fix ruby#256
4503f44
Support int that follow on symbeg in IRB
90cb27b
Successfully merging a pull request may close this issue.
Description
irb 1.0.0 in Ruby 2.6.6 shows error after input
:123
:However, irb 1.3.5 in Ruby 3.0.2 shows nothing. I had to press Ctrl-C in order to continue operation:
I think the behavior in irb 1.0.0 is more interactive than irb 1.3.5, especially for Ruby newbies.
Result of irb_info
Terminal Emulator
Terminal.app in macOS 11.4
Setting Files
No.
The text was updated successfully, but these errors were encountered: