lib/psd/layer.rb in psd-1.3.3 vs lib/psd/layer.rb in psd-1.4.0
- old
+ new
@@ -12,15 +12,16 @@
include Mask
include Name
include PathComponents
include PositionAndChannels
- attr_reader :id, :info_keys
+ attr_reader :id, :info_keys, :header
attr_accessor :group_layer, :node, :file
# Initializes all of the defaults for the layer.
- def initialize(file)
+ def initialize(file, header)
@file = file
+ @header = header
@mask = {}
@blending_ranges = {}
@adjustments = {}
@channels_info = []
\ No newline at end of file