Class: Squeel::Nodes::Sifter

Inherits:
Object
  • Object
show all
Includes:
PredicateOperators
Defined in:
lib/squeel/nodes/sifter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from PredicateOperators

#&, #-@, #|

Constructor Details

#initialize(name, args) ⇒ Sifter

Returns a new instance of Sifter.



8
9
10
# File 'lib/squeel/nodes/sifter.rb', line 8

def initialize(name, args)
  @name, @args = name, args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



6
7
8
# File 'lib/squeel/nodes/sifter.rb', line 6

def args
  @args
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/squeel/nodes/sifter.rb', line 6

def name
  @name
end