Module: Turnip::Builder::Tags
- Included in:
- Feature, Scenario, ScenarioOutline
- Defined in:
- lib/turnip/builder.rb
Instance Method Summary collapse
Instance Method Details
#metadata_hash ⇒ Object
14 15 16 |
# File 'lib/turnip/builder.rb', line 14 def end |
#tags ⇒ Object
6 7 8 |
# File 'lib/turnip/builder.rb', line 6 def @raw..map { |tag| tag.name.sub(/^@/, '') } end |
#tags_hash ⇒ Object
10 11 12 |
# File 'lib/turnip/builder.rb', line 10 def Hash[.map { |t| [t.to_sym, true] }] end |