Class: SpecTracker::SpecParser::Specification
- Inherits:
-
Object
- Object
- SpecTracker::SpecParser::Specification
- Defined in:
- lib/spec_tracker/spec_parser/specification.rb
Instance Attribute Summary collapse
-
#scenarios ⇒ Object
readonly
Returns the value of attribute scenarios.
-
#topic ⇒ Object
readonly
Returns the value of attribute topic.
Instance Method Summary collapse
-
#initialize(topic:, scenarios:) ⇒ Specification
constructor
A new instance of Specification.
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
#scenarios ⇒ Object (readonly)
Returns the value of attribute scenarios.
4 5 6 |
# File 'lib/spec_tracker/spec_parser/specification.rb', line 4 def scenarios @scenarios end |
#topic ⇒ Object (readonly)
Returns the value of attribute topic.
4 5 6 |
# File 'lib/spec_tracker/spec_parser/specification.rb', line 4 def topic @topic end |