1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-12-25 18:10:46 +00:00
parent b7d11c6942
commit 4d9480cbbb
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
Wed Dec 26 01:31:16 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/irb/init.rb, lib/irb/context.rb: fix conf.debug_level=
[Bug #6301] and fix irb command option: -- irb_debug_level for irb.
* lib/irb/init.rb, lib/irb/context.rb: fix conf.debug_level=
[Bug #6301] and fix irb command option: -- irb_debug_level for irb.
Wed Dec 26 00:59:18 2012 Keiju Ishitsuka <keiju@ishitsuka.com>

View file

@ -153,7 +153,7 @@ class RubyLex
if c == "\n"
@line_no -= 1
if idx = @readed.rindex("\n")
@char_no = idx + 1
@char_no = idx + 1
else
@char_no = @base_char_no + @readed.size
end

View file

@ -48,7 +48,7 @@ EOF
Thread.pass
end
@binding = BINDING_QUEUE.pop
when 3 # binging in function on TOPLEVEL_BINDING(default)
@binding = eval("def irb_binding; private; binding; end; irb_binding",
TOPLEVEL_BINDING,