class Unparser::Adamantium::MethodBuilder::InvalidArityError
Raised when the method arity is invalid
def initialize(descendant, method, arity)
- Api: - private
Parameters:
-
arity
(Integer
) -- -
method
(Symbol
) -- -
descendant
(Module
) --
def initialize(descendant, method, arity) super("Cannot memoize #{descendant}##{method}, its arity is #{arity}") end