Method: Cursed::Adapter::Array#after

Defined in:
lib/cursed/adapter/array.rb

#after(attribute, value) ⇒ Object



19
20
21
# File 'lib/cursed/adapter/array.rb', line 19

def after(attribute, value)
  relation.select! { |x| x.public_send(attribute) > value }
end