Class: PSD::BlendInteriorElements
- Defined in:
- lib/psd/layer/info/blend_interior_elements.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
readonly
Returns the value of attribute enabled.
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
#enabled ⇒ Object (readonly)
Returns the value of attribute enabled.
9 10 11 |
# File 'lib/psd/layer/info/blend_interior_elements.rb', line 9 def enabled @enabled end |
Class Method Details
.should_parse?(key) ⇒ Boolean
5 6 7 |
# File 'lib/psd/layer/info/blend_interior_elements.rb', line 5 def self.should_parse?(key) key == 'infx' end |
Instance Method Details
#parse ⇒ Object
10 11 12 13 |
# File 'lib/psd/layer/info/blend_interior_elements.rb', line 10 def parse @enabled = @file.read_boolean @file.seek 3, IO::SEEK_CUR end |