Class: RSpec::SimpleCov::Container

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/simplecov/setup.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeContainer

Returns a new instance of Container.



6
7
8
9
10
# File 'lib/rspec/simplecov/setup.rb', line 6

def initialize
  @example_group = nil
  @example_context = nil
  @example = nil
end

Instance Attribute Details

#exampleObject

Returns the value of attribute example.



4
5
6
# File 'lib/rspec/simplecov/setup.rb', line 4

def example
  @example
end

#example_contextObject

Returns the value of attribute example_context.



4
5
6
# File 'lib/rspec/simplecov/setup.rb', line 4

def example_context
  @example_context
end

#example_groupObject

Returns the value of attribute example_group.



4
5
6
# File 'lib/rspec/simplecov/setup.rb', line 4

def example_group
  @example_group
end