Skip to content
New issue

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

Add ability to accept omit argument for Ruby IRB #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brand-it
Copy link

@brand-it brand-it commented May 3, 2023

When calling a setter this makes IRB it passed an argument that wants to truncate or omit some of the info. This is ideal for IRB, but HIRB throws an exception

https://github.com/ruby/irb/blob/457502a7468399ba3a176e5769c63a49c0e69e95/lib/irb.rb#L586

> value = true
/Users/brandit/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/hirb-0.7.3/lib/hirb/view.rb:186:in `output_value': wrong number of arguments (given 1, expected 0) (ArgumentError)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant