Sha256: f9ff2a44e1a0ecc4a433af4b60842117e4dc30b97c2efa2feaa7d2abb5f29ccc
Contents?: true
Size: 645 Bytes
Versions: 28
Compression:
Stored size: 645 Bytes
Contents
class PSD # Helper that lets us track the beginning and ending locations # of each section. This is for debug and error catching purposes, # primarily. module Section attr_reader :section_start, :section_end def start_section(section=:all) @section_start = {} unless @section_start @section_start[section] = @file.tell end def end_section(section=:all) @section_end = {} unless @section_end @section_end[section] = @file.tell end def start_of_section(section=:all) @section_start[section] end def end_of_section(section=:all) @section_end[section] end end end
Version data entries
28 entries across 28 versions & 2 rubygems