On Sep 8, 5:36 ¨Βν¬ Ωυλιθιςο ΝατσυνοτΌν®®®ΐςυβωμαξη®οςηΎ χςοτεΊ > Hi, > > In message "Re: [ruby-core:18490] Re: [ANN] Ruby 1.9.1 feature freeze" > on Mon, 8 Sep 2008 18:05:05 +0900, Nobuyoshi Nakada <n... / ruby-lang.org> writes: > > |At Sun, 7 Sep 2008 04:53:43 +0900, > |Yukihiro Matsumoto wrote in [ruby-core:18471]: > |> This is a proposal to add __file__ and __line__ methods to Method and > |> Proc objects. > > |I propose a new method, #location than those two new methods. > > I like the idea. ¨Βοχ οτθεςσ τθιξλΏ Seems reasonable if __FILE__ and __LINE__ can't do the job. But, will it lead to wanting a general #location method to use in place of __FILE__ and __LINE__? If so, a more specialized name, eg. #source_location, would be better. Also, should the method be defined for Binding too? T. P.S. A bit aside, but could we also have a method for binding.eval{ self } too (eg. Binding#context)?