Sha256: 379e321db66d510db18bd570fa9c0bc5c41ddbf24434134ee36765b6a1506c47

Contents?: true

Size: 405 Bytes

Versions: 7

Compression:

Stored size: 405 Bytes

Contents

module Vedeu

  # Allows the storing of events.
  class EventsRepository < Repository

    class << self

      # @return [Vedeu::EventsRepository]
      alias_method :events, :repository

      # Remove all stored models from the repository.
      #
      # @return [Vedeu::EventsRepository]
      def reset!
        @events = new(Vedeu::Events)
      end

    end

  end # EventsRepository

end # Vedeu

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vedeu-0.4.32 lib/vedeu/repositories/repositories/events_repository.rb
vedeu-0.4.31 lib/vedeu/repositories/repositories/events_repository.rb
vedeu-0.4.30 lib/vedeu/repositories/repositories/events_repository.rb
vedeu-0.4.29 lib/vedeu/repositories/repositories/events_repository.rb
vedeu-0.4.28 lib/vedeu/repositories/repositories/events_repository.rb
vedeu-0.4.27 lib/vedeu/repositories/repositories/events_repository.rb
vedeu-0.4.26 lib/vedeu/repositories/repositories/events_repository.rb