From 390acc75c1c2002c6c1af639ca61297948989b07 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 1 Aug 2023 13:08:05 +0100 Subject: [PATCH] Create a new Workspace command category --- lib/irb/cmd/chws.rb | 4 ++-- 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 44712fa44..31045f9bb 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 @@ def execute(*obj) 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 d64d82218..59996ceb0 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 @@ def execute(*obj) end class PushWorkspace < Workspaces - category "IRB" + category "Workspace" description "Push an object to the workspace stack." def execute(*obj) @@ -31,7 +31,7 @@ def execute(*obj) end class PopWorkspace < Workspaces - category "IRB" + category "Workspace" description "Pop a workspace from the workspace stack." def execute(*obj)