Class: Somemoji::Commands::BaseCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/somemoji/commands/base_command.rb

Direct Known Subclasses

ErrorCommand, ExtractCommand

Instance Method Summary collapse

Constructor Details

#initialize(command_line_arguments) ⇒ BaseCommand

Returns a new instance of BaseCommand.

Parameters:


5
6
7
# File 'lib/somemoji/commands/base_command.rb', line 5

def initialize(command_line_arguments)
  @command_line_arguments = command_line_arguments
end

Instance Method Details

#callObject

Raises:

  • (::NotImplementedError)

9
10
11
# File 'lib/somemoji/commands/base_command.rb', line 9

def call
  raise ::NotImplementedError
end