Module: CoolRubyFaces

Defined in:
lib/cool_ruby_faces.rb,
lib/cool_ruby_faces/version.rb

Class Method Summary collapse

Class Method Details

.allObject



7
8
9
# File 'lib/cool_ruby_faces.rb', line 7

def self.all
  return @faces.join("\n")
end

.randomObject



11
12
13
# File 'lib/cool_ruby_faces.rb', line 11

def self.random
  return @faces.shuffle.first
end