Class: Testa::Test
- Inherits:
-
Object
- Object
- Testa::Test
- Defined in:
- lib/testa.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#location ⇒ Object
Returns the value of attribute location.
-
#options ⇒ Object
Returns the value of attribute options.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
- #call ⇒ Object
- #in_context(&block) ⇒ Object
-
#initialize(location, description, options = {}, &block) ⇒ Test
constructor
A new instance of Test.
Constructor Details
#initialize(location, description, options = {}, &block) ⇒ Test
Returns a new instance of Test.
62 63 64 65 66 67 68 |
# File 'lib/testa.rb', line 62 def initialize location, description, ={}, &block @location = location @description = description @options = @block = block @result = nil end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
60 61 62 |
# File 'lib/testa.rb', line 60 def description @description end |
#location ⇒ Object
Returns the value of attribute location.
60 61 62 |
# File 'lib/testa.rb', line 60 def location @location end |
#options ⇒ Object
Returns the value of attribute options.
60 61 62 |
# File 'lib/testa.rb', line 60 def @options end |
#result ⇒ Object
Returns the value of attribute result.
60 61 62 |
# File 'lib/testa.rb', line 60 def result @result end |