class RandPalette::RGBA

Public Class Methods

new(rgba) click to toggle source
# File lib/rand_palette.rb, line 36
def initialize rgba
  @rgba = rgba
end

Public Instance Methods

to_s() click to toggle source
# File lib/rand_palette.rb, line 40
def to_s
  "rgba(#{@rgba.join(',')})"
end