class CTioga2::MetaBuilder::Types::AxisType

The type of edges/axis

Constants

ValidTypes

Public Instance Methods

string_to_type_internal(str) click to toggle source
# File lib/ctioga2/metabuilder/types/styles.rb, line 160
def string_to_type_internal(str)
  for k,v in ValidTypes
    if str =~ /^\s*#{k}\s*/
        return v
    end
  end
  raise IncorrectInput, "Not an axis decoration: '#{str}'"
end