module HashedRecord::Chainable
Public Instance Methods
each(&block)
click to toggle source
# File lib/hashedrecord.rb, line 13 def each(&block) if block_given? call.each(&block) else to_enum(:each) end end
not(params)
click to toggle source
# File lib/hashedrecord.rb, line 9 def not(params) Hashedrecord::Filtered.new(self, [params, :-]) end
where(params)
click to toggle source
# File lib/hashedrecord.rb, line 5 def where(params) Hashedrecord::Filtered.new(self, [params, :&]) end