class Storing::Inquirer

Attributes

mapper[R]
query_object[R]
store[R]

Public Class Methods

new(mapper, store, query_object) click to toggle source
# File lib/storing/inquirer.rb, line 12
def initialize mapper, store, query_object
        @mapper = mapper
        @store = store
        @query_object = query_object
end
query(mapper, store, query_object) click to toggle source
# File lib/storing/inquirer.rb, line 6
def self.query mapper, store, query_object
        new(mapper, store, query_object).query
end

Public Instance Methods

query(query_object) click to toggle source
# File lib/storing/inquirer.rb, line 18
def query query_object
        mapper.parse store.query(query_object)
end