module Cucumber::RbSupport

Public Class Methods

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