Skip to content

Add ability to accept omit argument for Ruby IRB#108

Open
brand-it wants to merge 1 commit intocldwalker:masterfrom
brand-it:fix-exception-with-irb-and-hirb
Open

Add ability to accept omit argument for Ruby IRB#108
brand-it wants to merge 1 commit intocldwalker:masterfrom
brand-it:fix-exception-with-irb-and-hirb

Conversation

@brand-it
Copy link
Copy Markdown

@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