Sha256: cc0328ad571d3ff8806961ebfc52cf5577e44701b1b14d523fd0859203e827d4

Contents?: true

Size: 244 Bytes

Versions: 18

Compression:

Stored size: 244 Bytes

Contents

require 'psd/layer_info'

class PSD
  class LayerNameSource < LayerInfo
    def self.should_parse?(key)
      key == 'lnsr'
    end
    
    attr_reader :id
    
    def parse
      @id = @file.read_string(4)
      return self
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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