class CTioga2::MetaBuilder::Types::DimensionType
Handles a dimension, either relative or absolute
Public Instance Methods
string_to_type_internal(str)
click to toggle source
# File lib/ctioga2/metabuilder/types/coordinates.rb, line 31 def string_to_type_internal(str) default = @type[:default] || :dy orient = @type[:orient] || :x return Graphics::Types::Dimension::from_text(str, orient, default) end