Class: Thor

Inherits:
Object show all
Defined in:
sig/compat/thor_dsl.rbs

Class Method Summary collapse

Class Method Details

.default_taskvoid

This method returns an undefined value.

Parameters:

  • name (::Symbol)


5
# File 'sig/compat/thor_dsl.rbs', line 5

def self.default_task: (::Symbol name) -> void

.mapvoid

This method returns an undefined value.

Parameters:

  • mapping (::Hash[::String | ::Array[::String], ::Symbol])


7
# File 'sig/compat/thor_dsl.rbs', line 7

def self.map: (::Hash[::String | ::Array[::String], ::Symbol] mapping) -> void

.subcommandvoid

This method returns an undefined value.

Thor DSL methods used by ARFI

Parameters:

  • name (::String)
  • klass (::Class)


3
# File 'sig/compat/thor_dsl.rbs', line 3

def self.subcommand: (::String name, ::Class klass) -> void