class Unparser::Adamantium::MethodBuilder::InvalidArityError

Raised when the method arity is invalid

def initialize(descendant, method, arity)

Other tags:
    Api: - private

Parameters:
  • arity (Integer) --
  • method (Symbol) --
  • descendant (Module) --
def initialize(descendant, method, arity)
  super("Cannot memoize #{descendant}##{method}, its arity is #{arity}")
end