The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
SuperCaller version 1.0.0 has been released!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Eric Hodel

Posts: 660
Nickname: drbrain
Registered: Mar, 2006

Eric Hodel is a long-time Rubyist and co-founder of Seattle.rb.
SuperCaller version 1.0.0 has been released! Posted: Aug 4, 2007 10:44 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Eric Hodel.
Original Post: SuperCaller version 1.0.0 has been released!
Feed Title: Segment7
Feed URL: http://blog.segment7.net/articles.rss
Feed Description: Posts about and around Ruby, MetaRuby, ruby2c, ZenTest and work at The Robot Co-op.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Eric Hodel
Latest Posts From Segment7

Advertisement
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 in 1.0.0 / 2007-06-30:
  • 1 major enhancement
    • Birthday!
http://seattlerb.org/SuperCaller

Read: SuperCaller version 1.0.0 has been released!

Topic: Changes Coming Previous Topic   Next Topic Topic: Tweets on 2007-08-01

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use