RubyGems Navigation menu

called_from 0.1.0

Extention Module 'called_from' provides called_from() global function which gets filename and line number of caller. In short: require 'called_from' filename, linenum, function = called_from(1) is equivarent to: caller(1)[0] =~ /:(d+)( in `(.*)')?/ filename, linenum, function = $`, $1, $2 But called_from() is much faster than caller()[0].

Gemfile:
=

安裝:
=

版本列表:

  1. 0.1.0 November 05, 2009 (16.5 KB)

擁有者:

作者:

  • makoto kuata

SHA 256 總和檢查碼:

=

總下載次數 10,737

這個版本 10,737

版本发布:

授權:

Ruby 版本需求:

相關連結: