Class: Somemoji::Commands::ExtractCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Somemoji::Commands::ExtractCommand
- Defined in:
- lib/somemoji/commands/extract_command.rb
Instance Method Summary collapse
Methods inherited from BaseCommand
Constructor Details
This class inherits a constructor from Somemoji::Commands::BaseCommand
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/somemoji/commands/extract_command.rb', line 4 def call if emoji_extractor_class && command_line_arguments.destination emoji_extractor_class.new( destination: command_line_arguments.destination, format: command_line_arguments.format, size: command_line_arguments.size, ).extract else abort(command_line_arguments.) end end |