Class: Cucumber::Core::Test::Tag
- Includes:
- HasLocation
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/tag.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(location, name) ⇒ Tag
constructor
A new instance of Tag.
- #inspect ⇒ Object
Methods included from HasLocation
#attributes, #comments, #file, #file_colon_line, #line, #location, #multiline_arg, #tags
Constructor Details
#initialize(location, name) ⇒ Tag
Returns a new instance of Tag.
10 11 12 13 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/tag.rb', line 10 def initialize(location, name) @location = location @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/tag.rb', line 8 def name @name end |
Instance Method Details
#inspect ⇒ Object
15 16 17 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/tag.rb', line 15 def inspect %{#<#{self.class} "#{name}" (#{location})>} end |