[ruby-cvs:55935] nobu:r48785 (trunk): erb: lineno and location setters

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Dec 12 19:31:48 JST 2014


nobu	2014-12-12 19:31:47 +0900 (Fri, 12 Dec 2014)

  New Revision: 48785

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48785

  Log:
    erb: lineno and location setters
    
    * lib/erb.rb (ERB#lineno): accessor for line number to eval.
    * lib/erb.rb (ERB#location=): setter of file name and line number.

  Modified files:
    trunk/ChangeLog
    trunk/lib/erb.rb
    trunk/test/erb/test_erb.rb


More information about the ruby-cvs mailing list