brew/Library/Homebrew/cask/cmd/abstract_internal_command.rb
2020-10-10 14:59:39 +02:00

20 lines
354 B
Ruby

# typed: true
# frozen_string_literal: true
module Cask
class Cmd
# Abstract superclass for all internal `brew cask` commands.
#
# @api private
class AbstractInternalCommand < AbstractCommand
def self.command_name
super.sub(/^internal_/i, "_")
end
def self.visible?
false
end
end
end
end