Class: Page
- Inherits:
-
Object
- Object
- Page
- Defined in:
- lib/IFMapper/MapPrinting.rb
Instance Attribute Summary collapse
-
#rotate ⇒ Object
Returns the value of attribute rotate.
-
#sections ⇒ Object
Returns the value of attribute sections.
-
#xlen ⇒ Object
Returns the value of attribute xlen.
-
#ylen ⇒ Object
Returns the value of attribute ylen.
Instance Method Summary collapse
-
#initialize(xlen = 0, ylen = 0) ⇒ Page
constructor
A new instance of Page.
Constructor Details
#initialize(xlen = 0, ylen = 0) ⇒ Page
Returns a new instance of Page.
13 14 15 16 17 18 |
# File 'lib/IFMapper/MapPrinting.rb', line 13 def initialize(xlen = 0, ylen = 0) @xlen = xlen @ylen = ylen @rotate = false @sections = [] end |
Instance Attribute Details
#rotate ⇒ Object
Returns the value of attribute rotate.
12 13 14 |
# File 'lib/IFMapper/MapPrinting.rb', line 12 def rotate @rotate end |
#sections ⇒ Object
Returns the value of attribute sections.
12 13 14 |
# File 'lib/IFMapper/MapPrinting.rb', line 12 def sections @sections end |
#xlen ⇒ Object
Returns the value of attribute xlen.
12 13 14 |
# File 'lib/IFMapper/MapPrinting.rb', line 12 def xlen @xlen end |
#ylen ⇒ Object
Returns the value of attribute ylen.
12 13 14 |
# File 'lib/IFMapper/MapPrinting.rb', line 12 def ylen @ylen end |