Class: Sbuilder::Ial::Model::BinaryExpression

Inherits:
Expression
  • Object
show all
Defined in:
lib/model/model_dsl.rb

Instance Attribute Summary collapse

Attributes inherited from Expression

#type

Instance Method Summary collapse

Methods inherited from Expression

#val

Instance Attribute Details

#lvalObject

Returns the value of attribute lval.



174
175
176
# File 'lib/model/model_dsl.rb', line 174

def lval
  @lval
end

#opObject

Returns the value of attribute op.



175
176
177
# File 'lib/model/model_dsl.rb', line 175

def op
  @op
end

#rvalObject

Returns the value of attribute rval.



176
177
178
# File 'lib/model/model_dsl.rb', line 176

def rval
  @rval
end

Instance Method Details

#[](k) ⇒ Object



177
178
179
180
181
182
# File 'lib/model/model_dsl.rb', line 177

def [](k)
  return lval if k == :lval
  return op if k == :op
  return rval if k == :rval
  super( k )
end