diff options
author | Stan Lo <stan001212@gmail.com> | 2023-08-01 13:51:26 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-08-01 12:51:30 +0000 |
commit | f11ac06337fc56104172c3241393fd95d3a6c60d (patch) | |
tree | d7284ae191b405f4a31425e2703e0914b78ee2aa /lib/irb/cmd | |
parent | 382678d4112f4afc6272244c22924d2b004274b1 (diff) |
[ruby/irb] Add workspace category
(https://github.com/ruby/irb/pull/661)
* Create a new Workspace command category
* Update readme
https://github.com/ruby/irb/commit/310650c213
Diffstat (limited to 'lib/irb/cmd')
-rw-r--r-- | lib/irb/cmd/chws.rb | 4 | ||||
-rw-r--r-- | lib/irb/cmd/pushws.rb | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/irb/cmd/chws.rb b/lib/irb/cmd/chws.rb index 44712fa445..31045f9bbb 100644 --- a/lib/irb/cmd/chws.rb +++ b/lib/irb/cmd/chws.rb @@ -13,7 +13,7 @@ module IRB module ExtendCommand class CurrentWorkingWorkspace < Nop - category "IRB" + category "Workspace" description "Show the current workspace." def execute(*obj) @@ -22,7 +22,7 @@ module IRB end class ChangeWorkspace < Nop - category "IRB" + category "Workspace" description "Change the current workspace to an object." def execute(*obj) diff --git a/lib/irb/cmd/pushws.rb b/lib/irb/cmd/pushws.rb index d64d822182..59996ceb0c 100644 --- a/lib/irb/cmd/pushws.rb +++ b/lib/irb/cmd/pushws.rb @@ -12,7 +12,7 @@ module IRB module ExtendCommand class Workspaces < Nop - category "IRB" + category "Workspace" description "Show workspaces." def execute(*obj) @@ -21,7 +21,7 @@ module IRB end class PushWorkspace < Workspaces - category "IRB" + category "Workspace" description "Push an object to the workspace stack." def execute(*obj) @@ -31,7 +31,7 @@ module IRB end class PopWorkspace < Workspaces - category "IRB" + category "Workspace" description "Pop a workspace from the workspace stack." def execute(*obj) |