Class: RubySvgImageGenerator::HumanAvatars
- Defined in:
- lib/ruby_svg_image_generator/themes/human_avatars/body.rb,
lib/ruby_svg_image_generator/themes/human_avatars/eyes.rb,
lib/ruby_svg_image_generator/themes/human_avatars/hair.rb,
lib/ruby_svg_image_generator/themes/human_avatars/mouth.rb,
lib/ruby_svg_image_generator/themes/human_avatars/pants.rb,
lib/ruby_svg_image_generator/themes/human_avatars/shirt.rb,
lib/ruby_svg_image_generator/themes/human_avatars/shoes.rb,
lib/ruby_svg_image_generator/themes/human_avatars/background.rb,
lib/ruby_svg_image_generator/themes/human_avatars/complements.rb,
lib/ruby_svg_image_generator/themes/human_avatars/background_2.rb,
lib/ruby_svg_image_generator/themes/human_avatars/human_avatars.rb
Defined Under Namespace
Classes: Background, Background2, Body, Complements, Eyes, Hair, Mouth, Pants, Shirt, Shoes
Instance Method Summary collapse
-
#initialize ⇒ HumanAvatars
constructor
A new instance of HumanAvatars.
Methods inherited from Theme
#[], #each, #get_matrix, #get_random_matrix, #merge_parts, #n_cols, #n_rows, #name
Constructor Details
#initialize ⇒ HumanAvatars
Returns a new instance of HumanAvatars.
6 7 8 9 10 |
# File 'lib/ruby_svg_image_generator/themes/human_avatars/human_avatars.rb', line 6 def initialize super "human avatars", 13, 18 @parts = [] << Background.new << Body.new << Mouth.new << Eyes.new << Hair.new << Shirt.new << Shoes.new << Pants.new << Complements.new end |