Skip to content

Commit adf511e

Browse files
committed
* 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
1 parent e1a7f50 commit adf511e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/irb/inspector.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def initialize(inspect_proc, init_proc = nil)
105105
end
106106

107107
# Proc to call when the inspector is activated, good for requiring
108-
# dependant libraries.
108+
# dependent libraries.
109109
def init
110110
@init.call if @init
111111
end

lib/irb/workspace.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def initialize(*main)
4949
end
5050
@binding = BINDING_QUEUE.pop
5151

52-
when 3 # binging in function on TOPLEVEL_BINDING(default)
52+
when 3 # binding in function on TOPLEVEL_BINDING(default)
5353
@binding = eval("def irb_binding; private; binding; end; irb_binding",
5454
TOPLEVEL_BINDING,
5555
__FILE__,

0 commit comments

Comments
 (0)