lib/psd/resources/layer_comps.rb in psd-2.1.2 vs lib/psd/resources/layer_comps.rb in psd-3.1.2
- old
+ new
@@ -1,10 +1,12 @@
+require 'psd/resources/base'
+
class PSD
class Resource
- class Section
- class LayerComps < Section
- def self.id; 1065; end
- def self.name; :layer_comps; end
+ module Section
+ class LayerComps < Base
+ resource_id 1065
+ name :layer_comps
def self.visibility_captured?(comp)
comp[:captured_info] & 0b001 > 0
end
\ No newline at end of file