# File lib/yard/handlers/ruby/macro_handler_methods.rb, line 48
        def create_attribute_data(object)
          return unless object.docstring.tag(:attribute)
          ensure_loaded!(namespace)
          clean_name = object.name.to_s.sub(/=$/, '')
          namespace.attributes[object.scope][clean_name] ||= SymbolHash[:read => nil, :write => nil]
          if attribute_readable?
            namespace.attributes[object.scope][clean_name][:read] = object
          end
          if attribute_writable?
            if object.name.to_s[-1,1] == '='
              writer = object
            else
              writer = MethodObject.new(namespace, object.name.to_s + '=', object.scope)
              register(writer)
              writer.signature = "def #{object.name}=(value)"
              writer.visibility = object.visibility
              writer.dynamic = true
            end
            namespace.attributes[object.scope][clean_name][:write] = writer
          end
        end