class Dice

This object represents an animated emoji that displays a random value.

Public Instance Methods

emoji() click to toggle source

Emoji on which the dice throw animation is based.

# File lib/objects/dice.rb, line 13
def emoji
  @dice.emoji
end
value() click to toggle source

Value of the dice

# File lib/objects/dice.rb, line 18
def value
  @dice.value
end