E
Eric Hodel
SuperCaller version 1.0.0 has been released!
SuperCaller adds a beefed-up version of Kernel#caller and a beefed up
version of Exception#backtrace.
require 'super_caller'
def something() super_caller end
stack = something
p stack.first.file # => "-"
p stack.first.line # => 4
p stack.first.method_name # => nil
p stack.first.self # => main
p stack.first.sexp # => [:vcall, :super_caller]
p stack.first.source # => "def something\n super_caller\nend"
Changes:
## 1.0.0 / 2007-06-30
* 1 major enhancement
* Birthday!
* <http://seattlerb.org/SuperCaller>
SuperCaller adds a beefed-up version of Kernel#caller and a beefed up
version of Exception#backtrace.
require 'super_caller'
def something() super_caller end
stack = something
p stack.first.file # => "-"
p stack.first.line # => 4
p stack.first.method_name # => nil
p stack.first.self # => main
p stack.first.sexp # => [:vcall, :super_caller]
p stack.first.source # => "def something\n super_caller\nend"
Changes:
## 1.0.0 / 2007-06-30
* 1 major enhancement
* Birthday!
* <http://seattlerb.org/SuperCaller>