sometimes it can come handy to be able to know in which program you are running know.
it can be useful when displaying error information or such.
- caller(0)[0].split(".rb")[0] >> "(irb):74:in `irb_binding'"
Ruby On Rails and a Conning Israeli entrepreneur
sometimes it can come handy to be able to know in which program you are running know.
it can be useful when displaying error information or such.
0 comments:
Post a Comment