class ActionView::Template::Types::Type

def self.[](type)

def self.[](type)
  if type.is_a?(self)
    type
  else
    new(type)
  end
end

def ==(type)

def ==(type)
  @symbol == type.to_sym unless type.blank?
end

def initialize(symbol)

def initialize(symbol)
  @symbol = symbol.to_sym
end

def ref

def ref
  @symbol
end

def to_s

def to_s
  @symbol.to_s
end