Class: VaultCoh::Command
- Inherits:
-
Object
- Object
- VaultCoh::Command
- Defined in:
- lib/vault_coh/command.rb
Overview
Base class that all command wrappers extend.
Direct Known Subclasses
VaultCoh::Commands::BuildGlobalUpgradeCommand, VaultCoh::Commands::BuildSquadCommand, VaultCoh::Commands::SelectBattlegroupAbilityCommand, VaultCoh::Commands::SelectBattlegroupCommand, VaultCoh::Commands::UnknownCommand, VaultCoh::Commands::UseBattlegroupAbilityCommand
Instance Method Summary collapse
-
#to_h ⇒ Hash
Returns a hash representation of the object.
-
#value ⇒ Commands::BuildGlobalUpgrade | Commands::BuildSquad | Commands::SelectBattlegroup | Commands::SelectBattlegroupAbility | Commands::UseBattlegroupAbility | Commands::Unknown
Data object that contains information specific to the type of command it represents.
Instance Method Details
#to_h ⇒ Hash
Returns a hash representation of the object.
20 |
# File 'lib/vault_coh/command.rb', line 20 def to_h; end |
#value ⇒ Commands::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 |