Class: SpecTracker::SpecParser::Specification

Inherits:
Object
  • Object
show all
Defined in:
lib/spec_tracker/spec_parser/specification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topic:, scenarios:) ⇒ Specification



6
7
8
9
# File 'lib/spec_tracker/spec_parser/specification.rb', line 6

def initialize(topic:, scenarios:)
  @topic = topic
  @scenarios = scenarios
end

Instance Attribute Details

#scenariosObject (readonly)

Returns the value of attribute scenarios.



4
5
6
# File 'lib/spec_tracker/spec_parser/specification.rb', line 4

def scenarios
  @scenarios
end

#topicObject (readonly)

Returns the value of attribute topic.



4
5
6
# File 'lib/spec_tracker/spec_parser/specification.rb', line 4

def topic
  @topic
end