Module: GherkinLint::TagCollector
- Included in:
- TooManyDifferentTags, TooManyTags
- Defined in:
- lib/gherkin_lint/linter/tag_collector.rb
Overview
Mixin to lint for tags based on their relationship to eachother
Instance Method Summary collapse
Instance Method Details
#gather_tags(element) ⇒ Object
4 5 6 7 |
# File 'lib/gherkin_lint/linter/tag_collector.rb', line 4 def (element) return [] unless element.include? :tags element[:tags].map { |tag| tag[:name][1..-1] } end |