Class: Storage
Instance Method Summary collapse
Instance Method Details
#build(db) ⇒ Object
14 15 16 |
# File 'lib/storage.rb', line 14 def build(db) strategy.build(db) end |
#strategy ⇒ Object
6 7 8 |
# File 'lib/storage.rb', line 6 def strategy @strategy end |
#strategy=(strategy) ⇒ Object
10 11 12 |
# File 'lib/storage.rb', line 10 def strategy=(strategy) @strategy = strategy end |