lib/vedeu/geometry/x_dimension.rb in vedeu-0.6.36 vs lib/vedeu/geometry/x_dimension.rb in vedeu-0.6.37

- old
+ new

@@ -6,25 +6,20 @@ # class XDimension < Vedeu::Geometry::Dimension private - # @return [Symbol] + # @return [Vedeu::Geometry::HorizontalAlignment] def alignment - horizontal_alignment + Vedeu::Geometry::Alignment.coerce(@alignment) end # @return [Hash<Symbol => NilClass,Boolean,Symbol>] def defaults super.merge!( - default: Vedeu.width, - horizontal_alignment: default_alignment, + default: Vedeu.width, + alignment: :none, ) - end - - # @return [Symbol] - def default_alignment - Vedeu::Geometry::HorizontalAlignment.align(:none) end end # XDimension end # Geometry