Method: PSD::LayerInfo#initialize

Defined in:
lib/psd/layer_info.rb

#initialize(file, length) ⇒ LayerInfo

Returns a new instance of LayerInfo.



10
11
12
13
14
15
# File 'lib/psd/layer_info.rb', line 10

def initialize(file, length)
  @file = file
  @length = length
  @section_end = @file.tell + @length
  @data = {}
end