module Warg::Command::Naming

Public Class Methods

extended(klass) click to toggle source
# File lib/warg.rb, line 1858
def self.extended(klass)
  Warg::Command.register(klass)
end

Public Instance Methods

command_name() click to toggle source
# File lib/warg.rb, line 1862
def command_name
  if defined?(@command_name)
    @command_name
  else
    @command_name = Name.new(class_name: name)
  end
end
registry_name() click to toggle source
# File lib/warg.rb, line 1870
def registry_name
  command_name.registry
end