Module: Zookeeper::Compatibility

Included in:
Zookeeper, ZookeeperACLs, ZookeeperCommon, ZookeeperStat
Defined in:
lib/zookeeper/compatibility.rb

Instance Method Summary collapse

Instance Method Details

#clean_backtraceObject


36
37
38
# File 'lib/zookeeper/compatibility.rb', line 36

def clean_backtrace
  caller[0..-2].reject {|n| n =~ %r%/rspec/|\(eval\)|const_missing% }.map { |n| "\t#{n}" }.join("\n")
end