module Emotee

Constants

CHEEKS
EYES
HANDS
MOUTH
VERSION

Public Class Methods

generate() click to toggle source
# File lib/emotee.rb, line 57
def self.generate
  head = HEAD.sample
  eyes = EYES.sample
  cheeks = CHEEKS.sample
  mouth = MOUTH.sample
  hand_left = HANDS.sample
  hand_right = HANDS.sample

  [
    hand_left, head[0], cheeks[0], eyes[0],
    mouth,
    eyes[1], cheeks[1], head[1], hand_right
  ].join ''
end