Class: RspecTree::Description
- Inherits:
-
Object
- Object
- RspecTree::Description
- Defined in:
- lib/rspec_tree/description.rb
Instance Attribute Summary collapse
-
#contexts ⇒ Object
Returns the value of attribute contexts.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ Description
constructor
A new instance of Description.
Constructor Details
#initialize ⇒ Description
Returns a new instance of Description.
7 8 9 10 |
# File 'lib/rspec_tree/description.rb', line 7 def initialize @title = nil @contexts = [] end |
Instance Attribute Details
#contexts ⇒ Object
Returns the value of attribute contexts.
5 6 7 |
# File 'lib/rspec_tree/description.rb', line 5 def contexts @contexts end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/rspec_tree/description.rb', line 5 def title @title end |