Class: Page

Inherits:
Object
  • Object
show all
Defined in:
lib/IFMapper/MapPrinting.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(xlen = 0, ylen = 0) ⇒ Page

Returns a new instance of Page.



9
10
11
12
13
14
# File 'lib/IFMapper/MapPrinting.rb', line 9

def initialize(xlen = 0, ylen = 0)
  @xlen     = xlen
  @ylen     = ylen
  @rotate   = false
  @sections = []
end

Instance Attribute Details

#rotateObject

Returns the value of attribute rotate.



8
9
10
# File 'lib/IFMapper/MapPrinting.rb', line 8

def rotate
  @rotate
end

#sectionsObject

Returns the value of attribute sections.



8
9
10
# File 'lib/IFMapper/MapPrinting.rb', line 8

def sections
  @sections
end

#xlenObject

Returns the value of attribute xlen.



8
9
10
# File 'lib/IFMapper/MapPrinting.rb', line 8

def xlen
  @xlen
end

#ylenObject

Returns the value of attribute ylen.



8
9
10
# File 'lib/IFMapper/MapPrinting.rb', line 8

def ylen
  @ylen
end