Sha256: 0385d16540bc885cd2b114d6fb4c472f96d27506b2c40ba0ffa582dd2e9cd092
Contents?: true
Size: 443 Bytes
Versions: 24
Compression:
Stored size: 443 Bytes
Contents
class PSD class Resource class Section def self.factory(file, resource) Section.constants.each do |c| section = Section.const_get(c) next unless section.id == resource.id section.new(file, resource).parse return section.name end return nil end def initialize(file, resource) @file = file @resource = resource end end end end
Version data entries
24 entries across 24 versions & 2 rubygems