Sha256: 95beba89dcd9a515842f00a2bcc93c596eb0466c0bb010d648a8d7bf6a754c3d
Contents?: true
Size: 534 Bytes
Versions: 11
Compression:
Stored size: 534 Bytes
Contents
module Vedeu module Geometry # The X Dimension provides the width of an entity. # class XDimension < Vedeu::Geometry::Dimension private # @return [Vedeu::Geometry::HorizontalAlignment] def alignment Vedeu::Geometry::Alignment.coerce(@alignment) end # @return [Hash<Symbol => NilClass,Boolean,Symbol>] def defaults super.merge!( default: Vedeu.width, alignment: :none, ) end end # XDimension end # Geometry end # Vedeu
Version data entries
11 entries across 11 versions & 1 rubygems