Class: Turnip::Node::Tag
Overview
Note:
Location metadata generated by Gherkin
{ type: :Tag, location: { line: 10, column: 3 }, name: '@tag' }
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from HasLocation
Constructor Details
This class inherits a constructor from Turnip::Node::Base
Instance Method Details
#name ⇒ Object
15 16 17 |
# File 'lib/turnip/node/tag.rb', line 15 def name @name ||= @raw.name.gsub(/^@/, '') end |