Class: Thinreports::BasicReport::Report::BlankPage
- Inherits:
-
Object
- Object
- Thinreports::BasicReport::Report::BlankPage
- Defined in:
- lib/thinreports/basic_report/report/page.rb
Direct Known Subclasses
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#blank? ⇒ Boolean
(true).
- #count? ⇒ Boolean
-
#initialize(count = nil) ⇒ BlankPage
constructor
A new instance of BlankPage.
Constructor Details
#initialize(count = nil) ⇒ BlankPage
Returns a new instance of BlankPage.
17 18 19 |
# File 'lib/thinreports/basic_report/report/page.rb', line 17 def initialize(count = nil) @count = count.nil? ? true : count end |
Instance Attribute Details
#no ⇒ Integer
14 15 16 |
# File 'lib/thinreports/basic_report/report/page.rb', line 14 def no @no end |
Instance Method Details
#blank? ⇒ Boolean
Returns (true).
33 34 35 |
# File 'lib/thinreports/basic_report/report/page.rb', line 33 def blank? true end |
#count? ⇒ Boolean
28 29 30 |
# File 'lib/thinreports/basic_report/report/page.rb', line 28 def count? @count end |