Files

Class/Module Index [+]

Quicksearch

Cucumber::Ast::HasLocation

Public Instance Methods

file() click to toggle source
# File lib/cucumber/ast/location.rb, line 26
def file
  location.file
end
file_colon_line() click to toggle source
# File lib/cucumber/ast/location.rb, line 22
def file_colon_line
  location.to_s
end
line() click to toggle source
# File lib/cucumber/ast/location.rb, line 30
def line
  location.line
end
location() click to toggle source
# File lib/cucumber/ast/location.rb, line 34
def location
  raise('Please set @location in the constructor') unless @location
  raise("@location must be an Ast::Location but is a #{@location.class}") unless @location.is_a?(Location)
  @location
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.