Class: Flatware::RSpec::Example

Inherits:
Object
  • Object
show all
Defined in:
lib/flatware/rspec/summary.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rspec_example) ⇒ Example

Returns a new instance of Example.



6
7
8
9
# File 'lib/flatware/rspec/summary.rb', line 6

def initialize(rspec_example)
  @full_description        = rspec_example.full_description
  @location_rerun_argument = rspec_example.location_rerun_argument
end

Instance Attribute Details

#full_descriptionObject (readonly)

Returns the value of attribute full_description.



5
6
7
# File 'lib/flatware/rspec/summary.rb', line 5

def full_description
  @full_description
end

#location_rerun_argumentObject (readonly)

Returns the value of attribute location_rerun_argument.



5
6
7
# File 'lib/flatware/rspec/summary.rb', line 5

def location_rerun_argument
  @location_rerun_argument
end