Class: Specdown::Test
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
-
#readme ⇒ Object
readonly
Returns the value of attribute readme.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#undefined_implicits ⇒ Object
Returns the value of attribute undefined_implicits.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(readme = nil) ⇒ Test
constructor
A new instance of Test.
Constructor Details
#initialize(readme = nil) ⇒ Test
Returns a new instance of Test.
8 9 10 11 12 |
# File 'lib/specdown/test.rb', line 8 def initialize(readme=nil) @readme = readme @code = [] @undefined_implicits = [] end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
5 6 7 |
# File 'lib/specdown/test.rb', line 5 def code @code end |
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
6 7 8 |
# File 'lib/specdown/test.rb', line 6 def exception @exception end |
#readme ⇒ Object (readonly)
Returns the value of attribute readme.
6 7 8 |
# File 'lib/specdown/test.rb', line 6 def readme @readme end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
6 7 8 |
# File 'lib/specdown/test.rb', line 6 def status @status end |
#undefined_implicits ⇒ Object
Returns the value of attribute undefined_implicits.
5 6 7 |
# File 'lib/specdown/test.rb', line 5 def undefined_implicits @undefined_implicits end |
Instance Method Details
#execute ⇒ Object
15 16 17 |
# File 'lib/specdown/test.rb', line 15 def execute execute_code end |