Class: Lite::Memoize::Alias::MemoizedMethod

Inherits:
Struct
  • Object
show all
Defined in:
lib/lite/memoize/alias.rb

Instance Attribute Summary collapse

Instance Attribute Details

#arityObject

Returns the value of attribute arity

Returns:

  • (Object)

    the current value of arity



7
8
9
# File 'lib/lite/memoize/alias.rb', line 7

def arity
  @arity
end

#ivarObject

Returns the value of attribute ivar

Returns:

  • (Object)

    the current value of ivar



7
8
9
# File 'lib/lite/memoize/alias.rb', line 7

def ivar
  @ivar
end

#memoized_methodObject

Returns the value of attribute memoized_method

Returns:

  • (Object)

    the current value of memoized_method



7
8
9
# File 'lib/lite/memoize/alias.rb', line 7

def memoized_method
  @memoized_method
end