Method: RDoc::Attr#marshal_dump

Defined in:
lib/rdoc/code_object/attr.rb

#marshal_dumpObject

Dumps this Attr for use by ri. See also #marshal_load



102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'lib/rdoc/code_object/attr.rb', line 102

def marshal_dump
  [ MARSHAL_VERSION,
    @name,
    full_name,
    @rw,
    @visibility,
    parse(@comment),
    singleton,
    @file.relative_name,
    @parent.full_name,
    @parent.class,
    @section.title
  ]
end