lib/docrb/lib/docrb/doc_compiler/doc_attribute.rb
# Returns a Hash representing this attribute
Returns a Hash representing this attribute
Returns a Hash representing this attribute
def to_h
        {
          defined_by: defined_by,
          name: name,
          docs: docs,
          type: type,
          writer_visibility: writer_visibility,
          reader_visibility: reader_visibility
        }
      end
def to_h { defined_by : defined_by , name : name , docs : docs , type : type , writer_visibility : writer_visibility , reader_visibility : reader_visibility } end
Returns a Hash representing this attribute
Returns a Hash representing this attribute