Class: Quartz::ColorSpace
- Inherits:
-
Object
- Object
- Quartz::ColorSpace
- Defined in:
- lib/rubyquartz/colorspace.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(options) ⇒ ColorSpace
constructor
A new instance of ColorSpace.
Constructor Details
#initialize(options) ⇒ ColorSpace
Returns a new instance of ColorSpace.
31 32 33 34 35 36 37 38 39 |
# File 'lib/rubyquartz/colorspace.rb', line 31 def initialize() @name = [:name] if @name _init_with_name(@name) else # TODO: Add various other creation types raise "Cannot determine how to create colorspace from given options" end end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
29 30 31 |
# File 'lib/rubyquartz/colorspace.rb', line 29 def name @name end |