Class: Cask::Cmd::AbstractInternalCommand

Inherits:
AbstractCommand show all
Defined in:
brew/Library/Homebrew/cask/cmd/abstract_internal_command.rb

Direct Known Subclasses

Automerge, InternalHelp, InternalStanza

Instance Attribute Summary

Attributes inherited from AbstractCommand

#args

Class Method Summary collapse

Methods inherited from AbstractCommand

abstract?, help, #initialize, run

Methods included from Homebrew::Search

#query_regexp, #search_casks, #search_descriptions, #search_formulae, #search_taps

Methods included from Options

#process_arguments

Constructor Details

This class inherits a constructor from Cask::Cmd::AbstractCommand

Class Method Details

.command_nameObject



6
7
8
# File 'brew/Library/Homebrew/cask/cmd/abstract_internal_command.rb', line 6

def self.command_name
  super.sub(/^internal_/i, "_")
end

.visibleObject



10
11
12
# File 'brew/Library/Homebrew/cask/cmd/abstract_internal_command.rb', line 10

def self.visible
  false
end