Module: BiteScript::ASM::Generics
- Included in:
- ClassMirror, FieldMirror, GenericTypeMirror, MethodMirror
- Defined in:
- lib/bitescript/mirror.rb,
lib/bitescript/asm3/mirror.rb
Instance Method Summary collapse
Instance Method Details
#inspect_generic(type, generic_type) ⇒ Object
124 125 126 |
# File 'lib/bitescript/mirror.rb', line 124 def inspect_generic(type, generic_type) inspect_type(generic_type || type) end |
#inspect_type(type) ⇒ Object
116 117 118 119 120 121 122 |
# File 'lib/bitescript/mirror.rb', line 116 def inspect_type(type) if type.kind_of?(BiteScript::ASM::Type) type.class_name else type.to_s end end |