Class: ImgFlipMemes::OverlyAttachedGirlfriend
- Defined in:
- lib/edi/services/img_flip_memes/overly_attached_girlfriend.rb
Instance Attribute Summary
Attributes inherited from BaseMeme
#captures, #imgflip_password, #imgflip_user, #message, #text0, #text1
Instance Method Summary collapse
Methods inherited from BaseMeme
#create_meme, #initialize, #method_missing, #trim_captures, #url
Constructor Details
This class inherits a constructor from ImgFlipMemes::BaseMeme
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ImgFlipMemes::BaseMeme
Instance Method Details
#template_id ⇒ Object
3 4 5 |
# File 'lib/edi/services/img_flip_memes/overly_attached_girlfriend.rb', line 3 def template_id 100952 end |
#tokenize ⇒ Object
7 8 9 10 11 |
# File 'lib/edi/services/img_flip_memes/overly_attached_girlfriend.rb', line 7 def tokenize captures = text.match(/overly attached girlfriend(?<text0>.[^,]+),?(?<text1>.[^,]+)?/i) self.captures[:text0], self.captures[:text1] = captures[:text0], captures[:text1] true end |