lib/docrb/lib/docrb/comment_parser.rb
def to_h
      @meta.merge({
                    type: @type,
                    contents: @components.map(&:to_h)
                  })
    end
# Public: Returns a hash by merging contents and metadata obtained through
# the parsing process.
Returns a hash by merging contents and metadata obtained through
the parsing process.
Returns a hash by merging contents and metadata obtained through the parsing process .
def to_h
      @meta.merge({
                    type: @type,
                    contents: @components.map(&:to_h)
                  })
    end
def to_h @meta . merge ( { type : @type , contents : @components . map ( & :to_h ) } ) end
Public: Returns a hash by merging contents and metadata obtained through
the parsing process.
Public : Returns a hash by merging contents and metadata obtained through the parsing process .