diff options
Diffstat (limited to 'lib/irb/ext/workspaces.rb')
-rw-r--r-- | lib/irb/ext/workspaces.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/irb/ext/workspaces.rb b/lib/irb/ext/workspaces.rb index 1232fee84f..641befbdf3 100644 --- a/lib/irb/ext/workspaces.rb +++ b/lib/irb/ext/workspaces.rb @@ -12,11 +12,12 @@ module IRB # :nodoc: class Context + # Size of the current WorkSpace stack def irb_level workspace_stack.size end - # Workspaces in the current stack + # WorkSpaces in the current stack def workspaces if defined? @workspaces @workspaces |