Class: Sapphire::DSL::Scenarios::Pending
- Defined in:
- lib/sapphire/DSL/Scenarios/Pending.rb
Instance Attribute Summary collapse
-
#and ⇒ Object
readonly
Returns the value of attribute and.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
- #add_and(text, &block) ⇒ Object
-
#initialize(text) ⇒ Pending
constructor
A new instance of Pending.
- #to_s ⇒ Object
Constructor Details
#initialize(text) ⇒ Pending
Returns a new instance of Pending.
13 14 15 16 |
# File 'lib/sapphire/DSL/Scenarios/Pending.rb', line 13 def initialize(text) @text = text @and = [] end |
Instance Attribute Details
#and ⇒ Object (readonly)
Returns the value of attribute and.
11 12 13 |
# File 'lib/sapphire/DSL/Scenarios/Pending.rb', line 11 def and @and end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
10 11 12 |
# File 'lib/sapphire/DSL/Scenarios/Pending.rb', line 10 def text @text end |