Sha256: 08d9cc929b86e4042365a8856fc64e3ea602d2c91cdae42ca4f69d1a854015de

Contents?: true

Size: 465 Bytes

Versions: 10

Compression:

Stored size: 465 Bytes

Contents

module Vedeu

  # Allows the storing of events.
  #
  # @api public
  class Events < Repository

    class << self

      alias_method :events, :repository

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

    end # Eigenclass

  end # Events

end # Vedeu

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.4.55 lib/vedeu/events/events.rb
vedeu-0.4.54 lib/vedeu/repositories/repositories/events.rb
vedeu-0.4.53 lib/vedeu/repositories/repositories/events.rb
vedeu-0.4.52 lib/vedeu/repositories/repositories/events.rb
vedeu-0.4.51 lib/vedeu/repositories/repositories/events.rb
vedeu-0.4.50 lib/vedeu/repositories/repositories/events.rb
vedeu-0.4.49 lib/vedeu/repositories/repositories/events.rb
vedeu-0.4.48 lib/vedeu/repositories/repositories/events.rb
vedeu-0.4.47 lib/vedeu/repositories/repositories/events.rb
vedeu-0.4.46 lib/vedeu/repositories/repositories/events.rb