module RDF::AllegroGraph
  # An AllegroGraph RDF repository.
  class Repository < AbstractRepository
    # Create a new AllegroGraph repository adapter.
    #
    # @param [Hash{Symbol => Object}] options
    # @option options [Server]  :server  The server hosting the repository.
    # @option options [String]  :id      The name of the repository.
    def initialize(options)
      server = options[:server].server
      super(::AllegroGraph::Repository.new(server, options[:id]))
    end

    # Create a new, persistent AllegroGraph session.
    #
    # @return [Session]
    def session
      Session.new(@repo)
    end
  end
end

module RDF::AllegroGraph
  # An AllegroGraph RDF repository.
  class Repository < AbstractRepository


    #--------------------------------------------------------------------
    # @group RDF::Repository methods

    # Create a new AllegroGraph repository adapter.
    #
    # @param [Hash{Symbol => Object}] options
    # @option options [Server]  :server  The server hosting the repository.
    # @option options [String]  :id      The name of the repository.
    def initialize(options)
      server = options[:server].server
      super(::AllegroGraph::Repository.new(server, options[:id]))
    end

    # Create a new, persistent AllegroGraph session.
    #
    # @return [Session]
    def session
      Session.new(@repo)
    end

    protected
  end
end

--- 
+++ 
@@ -1,11 +1,6 @@
 module RDF::AllegroGraph
   # An AllegroGraph RDF repository.
   class Repository < AbstractRepository
-
-
-    #--------------------------------------------------------------------
-    # @group RDF::Repository methods
-
     # Create a new AllegroGraph repository adapter.
     #
     # @param [Hash{Symbol => Object}] options
@@ -22,7 +17,5 @@
     def session
       Session.new(@repo)
     end
-
-    protected
   end
 end
Repository: Remove leftover cruft from refactoring
