Class: TestML::Assignment

Inherits:
Object
  • Object
show all
Defined in:
lib/testml/runtime.rb

Overview


Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, expr) ⇒ Assignment

Returns a new instance of Assignment.



297
298
299
300
# File 'lib/testml/runtime.rb', line 297

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

Instance Attribute Details

#exprObject

Returns the value of attribute expr.



295
296
297
# File 'lib/testml/runtime.rb', line 295

def expr
  @expr
end

#nameObject

Returns the value of attribute name.



294
295
296
# File 'lib/testml/runtime.rb', line 294

def name
  @name
end