module Abt::Providers::Git

Public Class Methods

command_class(name) click to toggle source
# File lib/abt/providers/git.rb, line 13
def self.command_class(name)
  const_name = Helpers.command_to_const(name)
  Commands.const_get(const_name) if Commands.const_defined?(const_name)
end
command_names() click to toggle source
# File lib/abt/providers/git.rb, line 9
def self.command_names
  Commands.constants.sort.map { |constant_name| Helpers.const_to_command(constant_name) }
end