lib/docrb/lib/docrb/doc_compiler/doc_method.rb
def to_h
        {
          type: type,
          name: name,
          args: args,
          doc: DocBlocks.prepare(doc, parent: self),
          visibility: visibility,
          overriden_by: overriden_by,
          defined_by: defined_by&.to_h
        }
      end
# Public: Returns a Hash representation of this method
Returns a Hash representation of this method
Returns a Hash representation of this method
def to_h
        {
          type: type,
          name: name,
          args: args,
          doc: DocBlocks.prepare(doc, parent: self),
          visibility: visibility,
          overriden_by: overriden_by,
          defined_by: defined_by&.to_h
        }
      end
def to_h { type : type , name : name , args : args , doc : DocBlocks . prepare ( doc , parent : self ) , visibility : visibility , overriden_by : overriden_by , defined_by : defined_by &. to_h } end
Public: Returns a Hash representation of this method
Public : Returns a Hash representation of this method