Class: RspecTree::Description

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDescription

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

#contextsObject

Returns the value of attribute contexts.



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

def contexts
  @contexts
end

#titleObject

Returns the value of attribute title.



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

def title
  @title
end