lib/vedeu/geometry/generic_coordinate.rb in vedeu-0.6.12 vs lib/vedeu/geometry/generic_coordinate.rb in vedeu-0.6.13
- old
+ new
@@ -111,13 +111,14 @@
# @return [Fixnum]
def d_dn
border.send(coordinate_type[3])
end
- # Ascertain the correct methods to use for determining the coordinates.
+ # Ascertain the correct methods to use for determining the
+ # coordinates.
#
- # @raise [Vedeu::Error::InvalidSyntax] When the coordinate type is not
- # given.
+ # @raise [Vedeu::Error::InvalidSyntax] When the coordinate type
+ # is not given.
# @return [Fixnum]
def coordinate_type
@_type ||= case type
when :x then [:x, :bx, :bxn, :width]
when :y then [:y, :by, :byn, :height]