aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb')
-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 eaff44fc0b..cdd90d4081 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 65214a2217..a627e7f3c2 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__,