You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When invoked in a fake filesystem, I receive this error:
ArgumentError: wrong number of arguments (given 2, expected 1)
As far as I can tell, Ruby's IO class has supported the :chomp option since v2.5 (although this blog post suggests since v2.4). The general idea is that #chomp will be invoked on each item returned in the array.
Are y'all willing to support this? If so, I'm happy to open a PR for it within a day or so!
The text was updated successfully, but these errors were encountered:
Given the following code:
When invoked in a fake filesystem, I receive this error:
As far as I can tell, Ruby's IO class has supported the
:chomp
option since v2.5 (although this blog post suggests since v2.4). The general idea is that#chomp
will be invoked on each item returned in the array.Are y'all willing to support this? If so, I'm happy to open a PR for it within a day or so!
The text was updated successfully, but these errors were encountered: