Class: Commands::Unrecognized

Inherits:
Command
  • Object
show all
Defined in:
lib/gdsh/unrecognized.rb

Overview

Unrecognized command.

Instance Method Summary collapse

Methods inherited from Command

#initialize

Methods included from DriveError

#drive_error_string

Methods included from CommandMixin

included

Constructor Details

This class inherits a constructor from Commands::Command

Instance Method Details

#executeObject



8
9
10
# File 'lib/gdsh/unrecognized.rb', line 8

def execute
  "Command not recognized, got: #{@params}".colorize(:red)
end