Class: Oso::Polar::Data::Filter::Relation

Inherits:
Struct
  • Object
show all
Defined in:
lib/oso/polar/data/filter.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



32
33
34
# File 'lib/oso/polar/data/filter.rb', line 32

def left
  @left
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



32
33
34
# File 'lib/oso/polar/data/filter.rb', line 32

def name
  @name
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



32
33
34
# File 'lib/oso/polar/data/filter.rb', line 32

def right
  @right
end

Class Method Details

.parse(polar, left, name, right) ⇒ Object



33
34
35
# File 'lib/oso/polar/data/filter.rb', line 33

def self.parse(polar, left, name, right)
  Relation.new(polar.name_to_class(left), name, polar.name_to_class(right))
end