Class: YARD::CodeObjects::Cucumber::Feature
- Inherits:
-
NamespaceObject
- Object
- NamespaceObject
- NamespaceObject
- YARD::CodeObjects::Cucumber::Feature
- Defined in:
- lib/yard/code_objects/cucumber/feature.rb
Instance Attribute Summary collapse
-
#background ⇒ Object
Returns the value of attribute background.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#description ⇒ Object
Returns the value of attribute description.
-
#keyword ⇒ Object
Returns the value of attribute keyword.
-
#scenarios ⇒ Object
Returns the value of attribute scenarios.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(namespace, name) ⇒ Feature
constructor
A new instance of Feature.
- #total_scenarios ⇒ Object
Methods included from LocationHelper
#file, #line_number, #location
Constructor Details
Instance Attribute Details
#background ⇒ Object
Returns the value of attribute background.
3 4 5 |
# File 'lib/yard/code_objects/cucumber/feature.rb', line 3 def background @background end |
#comments ⇒ Object
Returns the value of attribute comments.
3 4 5 |
# File 'lib/yard/code_objects/cucumber/feature.rb', line 3 def comments @comments end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/yard/code_objects/cucumber/feature.rb', line 3 def description @description end |
#keyword ⇒ Object
Returns the value of attribute keyword.
3 4 5 |
# File 'lib/yard/code_objects/cucumber/feature.rb', line 3 def keyword @keyword end |
#scenarios ⇒ Object
Returns the value of attribute scenarios.
3 4 5 |
# File 'lib/yard/code_objects/cucumber/feature.rb', line 3 def scenarios @scenarios end |
#tags ⇒ Object
Returns the value of attribute tags.
3 4 5 |
# File 'lib/yard/code_objects/cucumber/feature.rb', line 3 def @tags end |
#value ⇒ Object
Returns the value of attribute value.
3 4 5 |
# File 'lib/yard/code_objects/cucumber/feature.rb', line 3 def value @value end |
Instance Method Details
#total_scenarios ⇒ Object
5 6 7 |
# File 'lib/yard/code_objects/cucumber/feature.rb', line 5 def total_scenarios scenarios.count end |