lib/psd/resources/guides.rb in psd-2.1.2 vs lib/psd/resources/guides.rb in psd-3.1.2
- old
+ new
@@ -1,10 +1,12 @@
+require 'psd/resources/base'
+
class PSD
class Resource
- class Section
- class Guides < Section
- def self.id; 1032; end
- def self.name; :guides; end
+ module Section
+ class Guides < Base
+ resource_id 1032
+ name :guides
def parse
# Descriptor version
@file.seek 4, IO::SEEK_CUR
\ No newline at end of file