Skip to content

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