module Flop
  module Repository
    class Memory
      attr_accessor :features

      def initialize
        self.features = Hash.new(false)
      end

      def get(name)
        features[name]
      end

      def set(name, value)
        features[name] = value
      end
    end
  end
end

module Flop
  module Repository
    class Memory
      def initialize
        @features = Hash.new(false)
      end

      def get(name)
        @features[name]
      end

      def set(name, value)
        @features[name] = value
      end
    end
  end
end

Replace `attr_accessor` with instance variable
Replace `attr_accessor` with instance variable

The `features` hash does not have to be accessed from outside the
repository class.
