зеркало из https://github.com/github/ruby.git
* 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:
Родитель
e1a7f50ce6
Коммит
adf511efc6
|
@ -105,7 +105,7 @@ module IRB # :nodoc:
|
|||
end
|
||||
|
||||
# Proc to call when the inspector is activated, good for requiring
|
||||
# dependant libraries.
|
||||
# dependent libraries.
|
||||
def init
|
||||
@init.call if @init
|
||||
end
|
||||
|
|
|
@ -49,7 +49,7 @@ EOF
|
|||
end
|
||||
@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",
|
||||
TOPLEVEL_BINDING,
|
||||
__FILE__,
|
||||
|
|
Загрузка…
Ссылка в новой задаче