Class: PSD::Resource::Section::WorkPath
- Defined in:
- lib/psd/resources/work_path.rb
Instance Method Summary collapse
Methods inherited from Base
#initialize, name, #name, #resource_id, resource_id
Constructor Details
This class inherits a constructor from PSD::Resource::Section::Base
Instance Method Details
#parse ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/psd/resources/work_path.rb', line 10 def parse paths = [] record_count = @resource.size / 26 record_count.times do paths << PathRecord.new(@file) end @resource.data = paths end |