Sha256: f0cfd8c19377e0d8865c0d27cdedaf9b81cc70f237caf091b6df4c0fb6a6081e
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
# coding: utf-8 module ThinReports module Core::Shape class PageNumber::Format < Basic::Format config_reader :overflow, :target, :box config_reader :default_format => %w( format ) def id unless @id @id = read('id') @id = self.class.next_default_id if @id.blank? end @id end def self.next_default_id @id_counter ||= 0 "__pageno#{@id_counter += 1}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.7 | lib/thinreports/core/shape/page_number/format.rb |