Class: TestML::Block

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

Overview


Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label = '', points = {}) ⇒ Block

Returns a new instance of Block.



361
362
363
364
# File 'lib/testml/runtime.rb', line 361

def initialize(label='', points={})
  @label = label
  @points = points
end

Instance Attribute Details

#labelObject

Returns the value of attribute label.



358
359
360
# File 'lib/testml/runtime.rb', line 358

def label
  @label
end

#pointsObject

Returns the value of attribute points.



359
360
361
# File 'lib/testml/runtime.rb', line 359

def points
  @points
end