Sha256: 72d33bbb5d89ff2c6e02fc2c03170b228b6b6f60747328a079674ec6645dd6a8
Contents?: true
Size: 811 Bytes
Versions: 3
Compression:
Stored size: 811 Bytes
Contents
# coding: utf-8 module ThinReports module Core::Shape # @private class List::PageState < Basic::Internal attr_reader :rows attr_accessor :height attr_accessor :header def initialize(*args) super(*args) @rows = [] @header = nil @height = 0 @finalized = false end def style @style ||= Style::Basic.new(format) end def finalized? @finalized end def finalized! @finalized = true end def type_of?(type_name) type_name == :list end end # Alias to List::PageState. # @see ThinReports::Core::Shape::List::PageState # @private List::Internal = List::PageState end end
Version data entries
3 entries across 3 versions & 1 rubygems