nandeck-ruby/lib/nandeck/definitions/margins.rb

15 lines
293 B
Ruby
Raw Permalink Normal View History

2013-10-10 02:51:03 +00:00
module Nandeck
class Margins
def initialize(left_right, top_bottom)
@left_right, @top_bottom = left_right, top_bottom
end
def to_a
output = []
output << "MARGINS = #{@left_right}, #{@left_right}, #{@top_bottom}, #{@top_bottom}"
output
end
end
end