Class: Somemoji::EmojiExtractors::BaseEmojiExtractor
- Inherits:
-
Object
- Object
- Somemoji::EmojiExtractors::BaseEmojiExtractor
- Defined in:
- lib/somemoji/emoji_extractors/base_emoji_extractor.rb
Direct Known Subclasses
Instance Method Summary collapse
- #extract ⇒ Object
-
#initialize(format: nil, destination:, silence: nil, size: nil) ⇒ BaseEmojiExtractor
constructor
A new instance of BaseEmojiExtractor.
Constructor Details
#initialize(format: nil, destination:, silence: nil, size: nil) ⇒ BaseEmojiExtractor
Returns a new instance of BaseEmojiExtractor.
8 9 10 11 12 13 |
# File 'lib/somemoji/emoji_extractors/base_emoji_extractor.rb', line 8 def initialize(format: nil, destination:, silence: nil, size: nil) @destination = destination @format = format || "png" @silence = silence || false @size = size end |
Instance Method Details
#extract ⇒ Object
15 16 17 |
# File 'lib/somemoji/emoji_extractors/base_emoji_extractor.rb', line 15 def extract raise ::NotImplementedError end |