Sha256: 6704a66613aabfc7fb41ad6b091675348ddb4f09244033926ad3fd2c7d04ab6f

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

module Vedeu

  # Allows the storing of events.
  #
  # @api public
  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

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.4.33 lib/vedeu/repositories/repositories/events_repository.rb