Method: EasySwig::GeneratorUtil#process_type
- Defined in:
- lib/generators/generator_util.rb
#process_type(type, klass) ⇒ Object
59 60 61 62 63 64 |
# File 'lib/generators/generator_util.rb', line 59 def process_type(type, klass) new_type = type.dup new_type.name = type.escaped_name new_typename = _process_type(new_type, klass) type.name = type.name.gsub(type.escaped_name, new_typename) end |