Class: Origami::Graphics::Color::GrayScale
- Inherits:
-
Object
- Object
- Origami::Graphics::Color::GrayScale
- Defined in:
- lib/origami/graphics/colors.rb
Instance Attribute Summary collapse
-
#g ⇒ Object
Returns the value of attribute g.
Instance Method Summary collapse
-
#initialize(g) ⇒ GrayScale
constructor
A new instance of GrayScale.
Constructor Details
#initialize(g) ⇒ GrayScale
Returns a new instance of GrayScale.
92 93 94 |
# File 'lib/origami/graphics/colors.rb', line 92 def initialize(g) @g = g end |
Instance Attribute Details
#g ⇒ Object
Returns the value of attribute g.
90 91 92 |
# File 'lib/origami/graphics/colors.rb', line 90 def g @g end |