Sha256: 3a846652dfe0b73e468d3d54df942b0e887e391f5c704cb22811f818b6e8692e
Contents?: true
Size: 251 Bytes
Versions: 3
Compression:
Stored size: 251 Bytes
Contents
module Danconia module Stores class InMemory def save_rates rates @rates = rates end def rates **filters @rates.select do |r| filters.all? { |k, v| r[k] == v } end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danconia-0.4.0 | lib/danconia/stores/in_memory.rb |
danconia-0.3.1 | lib/danconia/stores/in_memory.rb |
danconia-0.3.0 | lib/danconia/stores/in_memory.rb |