Sha256: 060e2d6d44e83de6eb64a8f9bc8ff18b4b9a6fc2382c176a130b16538c11dd08
Contents?: true
Size: 227 Bytes
Versions: 1
Compression:
Stored size: 227 Bytes
Contents
module SequelMapper class SubsetQueriesProxy def initialize(query_map) @query_map = query_map end def execute(superset, name, *params) @query_map.fetch(name).call(superset, *params) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sequel_mapper-0.0.3 | lib/sequel_mapper/subset_queries_proxy.rb |