module RSpec::Core::Metadata
def self.backtrace_from(block)
- Private: -
def self.backtrace_from(block) return caller unless block.respond_to?(:source_location) [block.source_location.join(':')] end
def self.backtrace_from(block) return caller unless block.respond_to?(:source_location) [block.source_location.join(':')] end