module Cucumber::Glue

Public Class Methods

backtrace_line(proc, name) click to toggle source
# File lib/cucumber/glue/registry_and_more.rb, line 182
def self.backtrace_line(proc, name)
  location = Cucumber::Core::Ast::Location.from_source_location(*proc.source_location)
  "#{location}:in `#{name}'"
end