module Cucumber::Core::Test::HasLocation
Public Instance Methods
attributes()
click to toggle source
# File lib/cucumber/core/test/location.rb, line 165 def attributes [tags, comments, multiline_arg].flatten end
comments()
click to toggle source
# File lib/cucumber/core/test/location.rb, line 174 def comments # will be overriden by nodes that actually have comments [] end
file()
click to toggle source
# File lib/cucumber/core/test/location.rb, line 151 def file location.file end
file_colon_line()
click to toggle source
# File lib/cucumber/core/test/location.rb, line 147 def file_colon_line location.to_s end
line()
click to toggle source
# File lib/cucumber/core/test/location.rb, line 155 def line location.line end
location()
click to toggle source
# File lib/cucumber/core/test/location.rb, line 159 def location raise('Please set @location in the constructor') unless defined?(@location) @location end
multiline_arg()
click to toggle source
# File lib/cucumber/core/test/location.rb, line 179 def multiline_arg # will be overriden by nodes that actually have a multiline_argument Test::EmptyMultilineArgument.new end