Class: LocoBot::CLI::Command::Hodor

Inherits:
Base
  • Object
show all
Defined in:
lib/loco_bot/cli/command/hodor.rb

Overview

Upon execution, outputs a string to STDOUT.

Instance Attribute Summary

Attributes inherited from Base

#robot, #table

Instance Method Summary collapse

Methods inherited from Base

#initialize, label

Constructor Details

This class inherits a constructor from LocoBot::CLI::Command::Base

Instance Method Details

#executevoid

This method returns an undefined value.

Executes the command.



8
9
10
# File 'lib/loco_bot/cli/command/hodor.rb', line 8

def execute
  robot.hodor!
end