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.
84 85 86 |
# File 'lib/origami/graphics/colors.rb', line 84 def initialize(g) @g = g end |
Instance Attribute Details
#g ⇒ Object
Returns the value of attribute g.
82 83 84 |
# File 'lib/origami/graphics/colors.rb', line 82 def g @g end |