Class: FutoCase
- Inherits:
-
Object
- Object
- FutoCase
- Defined in:
- lib/futo-spec.rb
Instance Attribute Summary collapse
-
#bullet_points ⇒ Object
A test case, with a description and associated bullet points.
-
#description ⇒ Object
A test case, with a description and associated bullet points.
Instance Method Summary collapse
-
#initialize(h, b_arr) ⇒ FutoCase
constructor
A new instance of FutoCase.
- #to_s ⇒ Object
Constructor Details
#initialize(h, b_arr) ⇒ FutoCase
Returns a new instance of FutoCase.
68 69 70 71 |
# File 'lib/futo-spec.rb', line 68 def initialize(h, b_arr) @description = h @bullet_points = b_arr end |
Instance Attribute Details
#bullet_points ⇒ Object
A test case, with a description and associated bullet points. The description won’t actually execute code. The associated bullet points will be mapped to ruby commands via “Chizus”. Bullets will in sequence until a newline is encountered.
67 68 69 |
# File 'lib/futo-spec.rb', line 67 def bullet_points @bullet_points end |
#description ⇒ Object
A test case, with a description and associated bullet points. The description won’t actually execute code. The associated bullet points will be mapped to ruby commands via “Chizus”. Bullets will in sequence until a newline is encountered.
67 68 69 |
# File 'lib/futo-spec.rb', line 67 def description @description end |
Instance Method Details
#to_s ⇒ Object
72 |
# File 'lib/futo-spec.rb', line 72 def to_s; return @description; end |