Class: VaultCoh::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/vault_coh/command.rb

Overview

Base class that all command wrappers extend.

Instance Method Summary collapse

Instance Method Details

#to_hHash

Returns a hash representation of the object.

Returns:

  • (Hash)


20
# File 'lib/vault_coh/command.rb', line 20

def to_h; end

#valueCommands::BuildGlobalUpgrade | Commands::BuildSquad | Commands::SelectBattlegroup | Commands::SelectBattlegroupAbility | Commands::UseBattlegroupAbility | Commands::Unknown

Data object that contains information specific to the type of command it represents.



15
# File 'lib/vault_coh/command.rb', line 15

def value; end