Method: GeneratorBase#get_type

Defined in:
lib/metarecord/generator_base.rb

#get_type(type) ⇒ Object



130
131
132
133
134
# File 'lib/metarecord/generator_base.rb', line 130

def get_type type
  type = "::#{type}" unless type.start_with? "::"
  type += " " if type[type.size - 1] == ">"
  type
end