Class: Nukumber::Model::Scenario

Inherits:
FeatureElement show all
Defined in:
lib/nukumber/model/scenario.rb

Instance Attribute Summary collapse

Attributes inherited from FeatureElement

#description, #feature, #line, #name, #steps

Instance Method Summary collapse

Methods inherited from FeatureElement

#longsym, #shortsym, #step_args, #to_s

Constructor Details

#initialize(name, line, description, feature) ⇒ Scenario

Returns a new instance of Scenario.



8
9
10
11
# File 'lib/nukumber/model/scenario.rb', line 8

def initialize(name, line, description, feature)
  super(name, line, description, feature)
  @tags = []
end

Instance Attribute Details

#tagsObject

Returns the value of attribute tags.



6
7
8
# File 'lib/nukumber/model/scenario.rb', line 6

def tags
  @tags
end

Instance Method Details

#keywordObject



13
14
15
# File 'lib/nukumber/model/scenario.rb', line 13

def keyword
  'Scenario'
end