Method: CSSPool::Terms::Rgb#initialize

Defined in:
lib/csspool/terms/rgb.rb

#initialize(red, green, blue, operator = nil, parse_location = {}) ⇒ Rgb

Returns a new instance of Rgb.



10
11
12
13
14
15
16
17
# File 'lib/csspool/terms/rgb.rb', line 10

def initialize red, green, blue, operator = nil, parse_location = {}
  super()
  @red    = red
  @green  = green
  @blue   = blue
  @operator = operator
  @parse_location = parse_location
end