Sha256: 1c35d028720bf8f268c49a20b48fc0491ac5b763f4ba55c9d93eafc1644457a4

Contents?: true

Size: 204 Bytes

Versions: 18

Compression:

Stored size: 204 Bytes

Contents

require 'psd/layer_info'

class PSD
  class LayerID < LayerInfo
    def self.should_parse?(key)
      key == 'lyid'
    end

    attr_reader :id

    def parse
      @id = @file.read_int
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
psd-3.9.0 lib/psd/layer/info/layer_id.rb
psd-3.8.0 lib/psd/layer/info/layer_id.rb
psd-3.7.0 lib/psd/layer/info/layer_id.rb
psd-3.6.0 lib/psd/layer/info/layer_id.rb
psd-3.5.0 lib/psd/layer/info/layer_id.rb
psd-3.4.0 lib/psd/layer/info/layer_id.rb
psd-3.3.3 lib/psd/layer/info/layer_id.rb
psd-3.3.2 lib/psd/layer/info/layer_id.rb
psd-3.3.1 lib/psd/layer/info/layer_id.rb
psd-3.2.4 lib/psd/layer_info/layer_id.rb
psd-3.2.3 lib/psd/layer_info/layer_id.rb
psd-3.2.2 lib/psd/layer_info/layer_id.rb
psd-3.2.1 lib/psd/layer_info/layer_id.rb
psd-3.2.0 lib/psd/layer_info/layer_id.rb
psd-3.1.5 lib/psd/layer_info/layer_id.rb
psd-3.1.4 lib/psd/layer_info/layer_id.rb
psd-3.1.3 lib/psd/layer_info/layer_id.rb
psd-3.1.2 lib/psd/layer_info/layer_id.rb