Class: Size

Inherits:
Struct show all
Defined in:
lib/hemi/helpers/simple.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#eql?

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



1
2
3
# File 'lib/hemi/helpers/simple.rb', line 1

def height
  @height
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



1
2
3
# File 'lib/hemi/helpers/simple.rb', line 1

def width
  @width
end