Class: Somemoji::EmojiExtractors::DownloadableEmojiExtractor

Inherits:
BaseEmojiExtractor show all
Defined in:
lib/somemoji/emoji_extractors/downloadable_emoji_extractor.rb

Instance Method Summary collapse

Methods inherited from BaseEmojiExtractor

#initialize

Constructor Details

This class inherits a constructor from Somemoji::EmojiExtractors::BaseEmojiExtractor

Instance Method Details

#extractObject

Note:

Implementation for Somemoji::EmojiExtractors::BaseEmojiExtractor


8
9
10
11
12
13
14
15
# File 'lib/somemoji/emoji_extractors/downloadable_emoji_extractor.rb', line 8

def extract
  make_destination_directory
  emojis.each do |emoji|
    download(emoji)
    print emoji.character unless silence?
  end
  puts unless silence?
end