Class: RubySvgImageGenerator::RobotAvatars
- Defined in:
- lib/ruby_svg_image_generator/themes/robot_avatars/arms.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/body.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/face.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/head.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/legs.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/chest.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/antenna.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/buttons.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/button_middle.rb,
lib/ruby_svg_image_generator/themes/robot_avatars/robot_avatars.rb
Defined Under Namespace
Classes: Antenna, Arms, Body, ButtonMiddle, Buttons, Chest, Face, Head, Legs
Instance Method Summary collapse
-
#initialize ⇒ RobotAvatars
constructor
A new instance of RobotAvatars.
Methods inherited from Theme
#[], #each, #get_matrix, #get_random_matrix, #merge_parts, #n_cols, #n_rows, #name
Constructor Details
#initialize ⇒ RobotAvatars
Returns a new instance of RobotAvatars.
6 7 8 9 |
# File 'lib/ruby_svg_image_generator/themes/robot_avatars/robot_avatars.rb', line 6 def initialize super "robot avatars", 25, 24 @parts = [] << Body.new << Chest.new << Legs.new << Head.new << Arms.new << Buttons.new << ButtonMiddle.new << Face.new << Antenna.new end |