Method: YARD::Serializers::YardocSerializer#serialize
- Defined in:
- lib/yard/serializers/yardoc_serializer.rb
#serialize(object) ⇒ Object
65 66 67 68 69 70 71 |
# File 'lib/yard/serializers/yardoc_serializer.rb', line 65 def serialize(object) if Hash === object super(object[:root], dump(object)) if object[:root] else super(object, dump(object)) end end |