Sha256: 934496398dfa0497ef1f08ac5d0f46f1978c26ca3654496d9ce627437a96bf38

Contents?: true

Size: 472 Bytes

Versions: 3

Compression:

Stored size: 472 Bytes

Contents

module Vedeu

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

3 entries across 3 versions & 1 rubygems

Version Path
vedeu-0.4.58 lib/vedeu/events/events.rb
vedeu-0.4.57 lib/vedeu/events/events.rb
vedeu-0.4.56 lib/vedeu/events/events.rb