Class: PSD::Invert
Instance Attribute Summary collapse
-
#inverted ⇒ Object
readonly
Returns the value of attribute inverted.
Attributes inherited from LayerInfo
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from LayerInfo
Constructor Details
This class inherits a constructor from PSD::LayerInfo
Instance Attribute Details
#inverted ⇒ Object (readonly)
Returns the value of attribute inverted.
9 10 11 |
# File 'lib/psd/layer/info/invert.rb', line 9 def inverted @inverted end |
Class Method Details
.should_parse?(key) ⇒ Boolean
5 6 7 |
# File 'lib/psd/layer/info/invert.rb', line 5 def self.should_parse?(key) key == 'nvrt' end |
Instance Method Details
#parse ⇒ Object
11 12 13 14 15 |
# File 'lib/psd/layer/info/invert.rb', line 11 def parse # There is no data. The presence of this info block is # all that's provided. @inverted = true end |