Class Method
In: lib/core/facets/method/partial.rb
lib/core/facets/method/composition.rb
lib/core/facets/method/memoize.rb
lib/core/facets/method/curry.rb
lib/core/facets/method/public.rb
Parent: Object

Methods

*   ^   curry   memoize   partial   private?   protected?   public?  

Classes and Modules

Class Method::Composition

Public Instance methods

Method composition.

@author Mike Burns

Method repetition.

@author Mike Burns

Curry a Method into a new Proc.

Memoize a method by defining a singleton override.

NOTE: This method is not a common core extension and is not loaded automatically when using require ‘facets‘.

@uncommon

  require 'facets/method/memoize'

Convert a method into a new partial Proc.

@return [Boolean]

  Returns true if self encapsulates a private method.

@author Robert Gleeson

@return [Boolean]

  Returns true if self encapsulates a protected method.

@author Robert Gleeson

@return [Boolean]

  Returns true if self encapsulates a public method.

@author Robert Gleeson

[Validate]