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.5KB)

所有者:

作者:

  • makoto kuata

SHA 256チェックサム:

ca0335d33209331880d291af3837e1d9d78bc17bc4bb8387722a0afdfa6733f3

累計ダウンロード数 10,584

このバージョンのみ 10,584

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: