Skip to content

Commit

Permalink
Create a new Workspace command category
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Aug 1, 2023
1 parent 9790517 commit 390acc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/irb/cmd/chws.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module IRB
module ExtendCommand

class CurrentWorkingWorkspace < Nop
category "IRB"
category "Workspace"
description "Show the current workspace."

def execute(*obj)
Expand All @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions lib/irb/cmd/pushws.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module IRB

module ExtendCommand
class Workspaces < Nop
category "IRB"
category "Workspace"
description "Show workspaces."

def execute(*obj)
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 390acc7

Please sign in to comment.