[ruby-cvs:68077] nobu:r60896 (trunk): workspace.rb: fix SCRIPT_LINES__

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Nov 24 14:00:56 JST 2017


nobu	2017-11-24 14:00:56 +0900 (Fri, 24 Nov 2017)

  New Revision: 60896

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

  Log:
    workspace.rb: fix SCRIPT_LINES__
    
    * lib/irb/workspace.rb (code_around_binding): `SCRIPT_LINES__`
      values are arrays of lines.  get file and line at once.  moved
      loop-invariant format string.  join without extra strings by
      `$,`.

  Modified files:
    trunk/lib/irb/workspace.rb


More information about the ruby-cvs mailing list