Class: ThinReports::Core::BlankPage
- Defined in:
- lib/thinreports/core/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.
11 12 13 |
# File 'lib/thinreports/core/page.rb', line 11 def initialize(count = nil) @count = count.nil? ? true : count end |
Instance Attribute Details
#no ⇒ Integer
8 9 10 |
# File 'lib/thinreports/core/page.rb', line 8 def no @no end |
Instance Method Details
#blank? ⇒ Boolean
Returns (true).
21 22 23 |
# File 'lib/thinreports/core/page.rb', line 21 def blank? true end |
#count? ⇒ Boolean
16 17 18 |
# File 'lib/thinreports/core/page.rb', line 16 def count? @count end |