Class: Jazzicon::Iteration

Inherits:
Struct
  • Object
show all
Defined in:
lib/jazzicon/icon.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colorObject

Returns the value of attribute color

Returns:

  • (Object)

    the current value of color



16
17
18
# File 'lib/jazzicon/icon.rb', line 16

def color
  @color
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



16
17
18
# File 'lib/jazzicon/icon.rb', line 16

def index
  @index
end

#random_numbersObject

Returns the value of attribute random_numbers

Returns:

  • (Object)

    the current value of random_numbers



16
17
18
# File 'lib/jazzicon/icon.rb', line 16

def random_numbers
  @random_numbers
end