Sha256: c4996840f1e4568841dcd2355d7a34f4d67d99464196769c7189f220ec45d582

Contents?: true

Size: 527 Bytes

Versions: 3

Compression:

Stored size: 527 Bytes

Contents

# coding: utf-8

module Thinreports
  module Core::Shape

    class PageNumber::Interface < Basic::Interface
      internal_delegators :reset_format

      def format(*args)
        if args.empty?
          internal.read_format
        else
          internal.write_format(args.first)
          self
        end
      end

    private
    
      # @see Thinreports::Core::Shape::Base::Interface#init_internal
      def init_internal(parent, format)
        PageNumber::Internal.new(parent, format)
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
thinreports-0.8.2 lib/thinreports/core/shape/page_number/interface.rb
thinreports-0.8.1 lib/thinreports/core/shape/page_number/interface.rb
thinreports-0.8.0 lib/thinreports/core/shape/page_number/interface.rb