Class: Dare::Color

Inherits:
Object
  • Object
show all
Defined in:
lib/dare/window.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(color) ⇒ Color

Returns a new instance of Color.



4
5
6
# File 'lib/dare/window.rb', line 4

def initialize(color)

end

Instance Attribute Details

#blueObject

Returns the value of attribute blue.



3
4
5
# File 'lib/dare/window.rb', line 3

def blue
  @blue
end

#greenObject

Returns the value of attribute green.



3
4
5
# File 'lib/dare/window.rb', line 3

def green
  @green
end

#redObject

Returns the value of attribute red.



3
4
5
# File 'lib/dare/window.rb', line 3

def red
  @red
end