Class: TestML::Block
- Inherits:
-
Object
- Object
- TestML::Block
- Defined in:
- lib/testml/runtime.rb
Overview
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#points ⇒ Object
Returns the value of attribute points.
Instance Method Summary collapse
-
#initialize(label = '', points = {}) ⇒ Block
constructor
A new instance of Block.
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 |