Sha256: 90b27fad41e98ccc06b2ade314c4dd32216cc545b5ec697645aa782005933de0
Contents?: true
Size: 480 Bytes
Versions: 3
Compression:
Stored size: 480 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 blank_value?(@id) end @id end def self.next_default_id @id_counter ||= 0 "__pageno#{@id_counter += 1}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems