Class: RspecTree::Root

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec_tree/root.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRoot

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

#descriptionsObject

Returns the value of attribute descriptions.



5
6
7
# File 'lib/rspec_tree/root.rb', line 5

def descriptions
  @descriptions
end

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/rspec_tree/root.rb', line 5

def title
  @title
end