Class: RubySvgImageGenerator::FaceAvatars
- Defined in:
- lib/ruby_svg_image_generator/themes/face_avatars/eyes.rb,
lib/ruby_svg_image_generator/themes/face_avatars/face.rb,
lib/ruby_svg_image_generator/themes/face_avatars/hair.rb,
lib/ruby_svg_image_generator/themes/face_avatars/mouth.rb,
lib/ruby_svg_image_generator/themes/face_avatars/background.rb,
lib/ruby_svg_image_generator/themes/face_avatars/face_avatars.rb
Defined Under Namespace
Classes: Background, Eyes, Face, Hair, Mouth
Instance Method Summary collapse
-
#initialize ⇒ FaceAvatars
constructor
A new instance of FaceAvatars.
Methods inherited from Theme
#[], #each, #get_matrix, #get_random_matrix, #merge_parts, #n_cols, #n_rows, #name
Constructor Details
#initialize ⇒ FaceAvatars
Returns a new instance of FaceAvatars.
6 7 8 9 |
# File 'lib/ruby_svg_image_generator/themes/face_avatars/face_avatars.rb', line 6 def initialize super "face avatars", 7, 8 @parts = [] << Background.new << Face.new << Hair.new << Eyes.new << Mouth.new end |