Class: ImgToPdf::Margin

Inherits:
Struct
  • Object
show all
Defined in:
lib/img_to_pdf/margin.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bottomObject

Returns the value of attribute bottom

Returns:

  • (Object)

    the current value of bottom



3
4
5
# File 'lib/img_to_pdf/margin.rb', line 3

def bottom
  @bottom
end

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



3
4
5
# File 'lib/img_to_pdf/margin.rb', line 3

def left
  @left
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



3
4
5
# File 'lib/img_to_pdf/margin.rb', line 3

def right
  @right
end

#topObject

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



3
4
5
# File 'lib/img_to_pdf/margin.rb', line 3

def top
  @top
end