Class: Thinreports::SectionReport::Schema::Report
- Inherits:
-
BasicReport::Core::Shape::Manager::Format
- Object
- BasicReport::Core::Format::Base
- BasicReport::Core::Shape::Manager::Format
- Thinreports::SectionReport::Schema::Report
- Defined in:
- lib/thinreports/section_report/schema/report.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#footers ⇒ Object
readonly
Returns the value of attribute footers.
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
Attributes inherited from BasicReport::Core::Shape::Manager::Format
Instance Method Summary collapse
-
#initialize(schema_data, headers:, details:, footers:) ⇒ Report
constructor
A new instance of Report.
- #user_paper_type? ⇒ Boolean
Methods inherited from BasicReport::Core::Shape::Manager::Format
#find_shape, #has_shape?, #shapes
Methods inherited from BasicReport::Core::Format::Base
#attributes, config_accessor, config_checker, config_reader, config_writer
Constructor Details
#initialize(schema_data, headers:, details:, footers:) ⇒ Report
Returns a new instance of Report.
21 22 23 24 25 26 |
# File 'lib/thinreports/section_report/schema/report.rb', line 21 def initialize(schema_data, headers:, details:, footers:) super(schema_data) @headers = headers @details = details @footers = end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
15 16 17 |
# File 'lib/thinreports/section_report/schema/report.rb', line 15 def details @details end |
#footers ⇒ Object (readonly)
Returns the value of attribute footers.
15 16 17 |
# File 'lib/thinreports/section_report/schema/report.rb', line 15 def @footers end |
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
15 16 17 |
# File 'lib/thinreports/section_report/schema/report.rb', line 15 def headers @headers end |
Instance Method Details
#user_paper_type? ⇒ Boolean
17 18 19 |
# File 'lib/thinreports/section_report/schema/report.rb', line 17 def user_paper_type? page_paper_type == 'user' end |