class Storing::Selector
Attributes
conditions[R]
mapper[R]
store[R]
Public Class Methods
new(mapper, store, conditions={})
click to toggle source
# File lib/storing/selector.rb, line 12 def initialize mapper, store, conditions={} @mapper = mapper @store = store @conditions = conditions end
select(mapper, store, conditions={})
click to toggle source
# File lib/storing/selector.rb, line 6 def self.select mapper, store, conditions={} new(mapper, store, conditions).select end
Public Instance Methods
select()
click to toggle source
# File lib/storing/selector.rb, line 18 def select mapper.parse store.select(conditions) end