Method: Trole::Strategy::BaseOne#store

Defined in:
lib/trole/strategy.rb

#storeTroles::Storage

The storage to use

Returns:

  • (Troles::Storage)

    a storage subclass instance matching the needs of the strategy



25
26
27
# File 'lib/trole/strategy.rb', line 25

def store
  @store ||= storage.new self
end