Class: FryMeme

Inherits:
Object
  • Object
show all
Includes:
MemeMe::Meme
Defined in:
lib/mememe/memes/fry_meme.rb

Instance Attribute Summary

Attributes included from MemeMe::Meme

#image

Instance Method Summary collapse

Methods included from MemeMe::Meme

#bottom_phrase=, #calculate_pointsize, #generate, #meme_text, #name, #top_phrase=, #write_bottom_phrase, #write_top_phrase

Constructor Details

#initializeFryMeme

Returns a new instance of FryMeme.



6
7
8
9
# File 'lib/mememe/memes/fry_meme.rb', line 6

def initialize
  @name = 'fry'
  @image = MemeMe::images[:fry]
end

Instance Method Details

#bottom_phraseObject



15
16
17
# File 'lib/mememe/memes/fry_meme.rb', line 15

def bottom_phrase
  "or #{@bottom_phrase}"
end

#top_phraseObject



11
12
13
# File 'lib/mememe/memes/fry_meme.rb', line 11

def top_phrase
  "not sure if #{@top_phrase}"
end