General

Profile

nate00 (Nate Sullivan)

  • Login: nate00
  • Registered on: 11/04/2017
  • Last sign in: 06/06/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

01/28/2018

12:46 AM Ruby Feature #14399: Add Enumerable#product
I believe `Enumerable#product` is named after the [Cartesian product](https://en.wikipedia.org/wiki/Cartesian_product) (also called just "product" in set theory). For example, see the discussion in [issue 7444](https://bugs.ruby-lang.org... nate00 (Nate Sullivan)

11/07/2017

03:20 AM Ruby Feature #14079: Validate argument list without calling method
I've removed the `String#prepend` example from the description. Thanks for catching that, Benoit and Hans.
I agree with Benoit that an instance method on `Method`/`UnboundMethod` would be better than my `respond_to_arguments?` method....
nate00 (Nate Sullivan)

11/04/2017

07:06 PM Ruby Feature #14079: Validate argument list without calling method
Oops, I think my description was somewhat misleading. I don't expect `respond_to_arguments?` to check for lines in the method body that might raise an `ArgumentError`. I expect it to check only whether the provided list of arguments matc... nate00 (Nate Sullivan)
06:25 PM Ruby Feature #14079 (Open): Validate argument list without calling method
I would find it useful to check whether a list of arguments matches a method signature, but without calling the method.
I'd like to check the arguments list using a method called, for example, `respond_to_arguments?`. Here's an exampl...
nate00 (Nate Sullivan)

Also available in: Atom