Class: Memoizable::MethodBuilder::InvalidArityError

### Home Classes Methods

### In Files

- lib/memoizable/method_builder.rb

### Parent

ArgumentError

### Methods

- ::new

### Class/Module Index

Quicksearch

- Memoizable
- Memoizable::InstanceMethods
- Memoizable::Memory
- Memoizable::MethodBuilder
- Memoizable::MethodBuilder::BlockNotAllowedError
- Memoizable::MethodBuilder::InvalidArityError
- Memoizable::ModuleMethods

No matching classes.

# Memoizable::MethodBuilder::InvalidArityError

Raised when the method arity is invalid

### Public Class Methods

new(descendant, method, arity) click to toggle source

Initialize an invalid arity exception

@param [Module] descendant @param [Symbol] method @param [Integer] arity

@api private

    # File lib/memoizable/method_builder.rb, line 17
    def initialize(descendant, method, arity)
      super("Cannot memoize #{descendant}##{method}, its arity is #{arity}")
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.