summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-30 09:50:11 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-30 09:50:11 +0000
commitadf511efc635e53272dc2ce9094d1a579fa2ff3c (patch)
tree919c6bcbae4abcfc6e2d5814044764e5eecbab12
parente1a7f50ce677218f6777fa103a17d0ecf6bc6615 (diff)
* 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
-rw-r--r--lib/irb/inspector.rb2
-rw-r--r--lib/irb/workspace.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/inspector.rb b/lib/irb/inspector.rb
index eaff44f..cdd90d4 100644
--- a/lib/irb/inspector.rb
+++ b/lib/irb/inspector.rb
@@ -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
diff --git a/lib/irb/workspace.rb b/lib/irb/workspace.rb
index 65214a2..a627e7f 100644
--- a/lib/irb/workspace.rb
+++ b/lib/irb/workspace.rb
@@ -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__,