lib/vedeu/geometry/bounding_area.rb in vedeu-0.4.5 vs lib/vedeu/geometry/bounding_area.rb in vedeu-0.4.6
- old
+ new
@@ -3,11 +3,16 @@
# Provides coordinates based on the height and width provided.
# Coordinates always start from 1, 1.
#
class BoundingArea
- attr_reader :height,
- :width
+ # @!attribute [r] height
+ # @return [Fixnum]
+ attr_reader :height
+
+ # @!attribute [r] width
+ # @return [Fixnum]
+ attr_reader :width
# Returns an instance of BoundingArea.
#
# @param height [Fixnum]
# @param width [Fixnum]