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