nandeck-ruby/lib/nandeck/definitions/page_size.rb
2013-10-09 22:51:03 -04:00

15 lines
280 B
Ruby

module Nandeck
class PageSize
def initialize(width, height, orientation)
@width, @height, @orientation = width, height, orientation
end
def to_a
output = []
output << "PAGE = #{@width}, #{@height}, #{@orientation}"
output
end
end
end