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

* lib/irb/inspector.rb: [DOC] Fix typo (s/dependant/dependent/)

* lib/irb/workspace.rb:  [DOC] Fix typo (s/binging/binding/)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
a_matsuda 2013-11-30 09:50:11 +00:00
parent e1a7f50ce6
commit adf511efc6
2 changed files with 2 additions and 2 deletions

View file

@ -105,7 +105,7 @@ module IRB # :nodoc:
end end
# Proc to call when the inspector is activated, good for requiring # Proc to call when the inspector is activated, good for requiring
# dependant libraries. # dependent libraries.
def init def init
@init.call if @init @init.call if @init
end end

View file

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