Module: Cucumber::Core::Test::HasLocation
- Included in:
- Tag
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb
Instance Method Summary collapse
- #attributes ⇒ Object
- #comments ⇒ Object
- #file ⇒ Object
- #file_colon_line ⇒ Object
- #line ⇒ Object
- #location ⇒ Object
- #multiline_arg ⇒ Object
- #tags ⇒ Object
Instance Method Details
#attributes ⇒ Object
158 159 160 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb', line 158 def attributes [, comments, multiline_arg].flatten end |
#comments ⇒ Object
167 168 169 170 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb', line 167 def comments # will be overriden by nodes that actually have comments [] end |
#file ⇒ Object
144 145 146 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb', line 144 def file location.file end |
#file_colon_line ⇒ Object
140 141 142 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb', line 140 def file_colon_line location.to_s end |
#line ⇒ Object
148 149 150 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb', line 148 def line location.line end |
#location ⇒ Object
152 153 154 155 156 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb', line 152 def location raise('Please set @location in the constructor') unless defined?(@location) @location end |
#multiline_arg ⇒ Object
172 173 174 175 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb', line 172 def multiline_arg # will be overriden by nodes that actually have a multiline_argument Test::EmptyMultilineArgument.new end |
#tags ⇒ Object
162 163 164 165 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/location.rb', line 162 def # will be overriden by nodes that actually have tags [] end |