Class: PrawnReport::Band
- Inherits:
-
Object
- Object
- PrawnReport::Band
- Defined in:
- lib/bands/band.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#report ⇒ Object
Returns the value of attribute report.
Class Method Summary collapse
Instance Method Summary collapse
- #draw ⇒ Object
-
#initialize(report, params = {}) ⇒ Band
constructor
A new instance of Band.
- #internal_draw ⇒ Object
Constructor Details
#initialize(report, params = {}) ⇒ Band
Returns a new instance of Band.
9 10 11 |
# File 'lib/bands/band.rb', line 9 def initialize(report, params = {}) @report = report end |
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
7 8 9 |
# File 'lib/bands/band.rb', line 7 def height @height end |
#report ⇒ Object
Returns the value of attribute report.
7 8 9 |
# File 'lib/bands/band.rb', line 7 def report @report end |
Class Method Details
.height ⇒ Object
19 20 21 |
# File 'lib/bands/band.rb', line 19 def self.height 20 end |
Instance Method Details
#draw ⇒ Object
13 14 15 |
# File 'lib/bands/band.rb', line 13 def draw internal_draw end |
#internal_draw ⇒ Object
17 |
# File 'lib/bands/band.rb', line 17 def internal_draw; end |