Class: JoeMeme

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

Instance Attribute Summary

Attributes included from MemeMe::Meme

#image

Instance Method Summary collapse

Methods included from MemeMe::Meme

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

Constructor Details

#initializeJoeMeme

Returns a new instance of JoeMeme.



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

def initialize
  @name = 'joe'
  @bottom_phrase = "then i spoke to joe"
  @image = MemeMe::images[:joe]
end