Skip to content

Commit

Permalink
[ruby/irb] Add workspace category
Browse files Browse the repository at this point in the history
(ruby/irb#661)

* Create a new Workspace command category

* Update readme

ruby/irb@310650c213
  • Loading branch information
st0012 authored and matzbot committed Aug 1, 2023
1 parent 382678d commit f11ac06
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
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
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 f11ac06

Please sign in to comment.