Class: Thinreports::BasicReport::Core::Shape::PageNumber::Interface

Inherits:
Basic::Interface show all
Defined in:
lib/thinreports/basic_report/core/shape/page_number/interface.rb

Instance Attribute Summary

Attributes inherited from Base::Interface

#internal

Instance Method Summary collapse

Methods inherited from Basic::Interface

#hide, #id, #show, #style, #styles, #visible, #visible?

Methods inherited from Base::Interface

#copy, #initialize

Methods included from Utils

#blank_value?, #call_block_in, #deep_copy, included

Constructor Details

This class inherits a constructor from Thinreports::BasicReport::Core::Shape::Base::Interface

Instance Method Details

#format(*args) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/thinreports/basic_report/core/shape/page_number/interface.rb', line 11

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