Module: Cuprum::Collections::Scopes::Building::ClassMethods

Defined in:
lib/cuprum/collections/scopes/building.rb

Overview

Class methods to extend when including the module.

Instance Method Summary collapse

Instance Method Details

#instanceCuprum::Collections::Scopes::Builder

Returns a singleton instance of the builder class.

Returns:



19
20
21
# File 'lib/cuprum/collections/scopes/building.rb', line 19

def instance
  @instance ||= new
end