Sha256: a561bb0af27c7e099407b4bece895bedbd9dd2073018d2164d40b4809786baaf

Contents?: true

Size: 456 Bytes

Versions: 15

Compression:

Stored size: 456 Bytes

Contents

module Vedeu

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

15 entries across 15 versions & 1 rubygems

Version Path
vedeu-0.5.7 lib/vedeu/events/events.rb
vedeu-0.5.6 lib/vedeu/events/events.rb
vedeu-0.5.5 lib/vedeu/events/events.rb
vedeu-0.5.4 lib/vedeu/events/events.rb
vedeu-0.5.3 lib/vedeu/events/events.rb
vedeu-0.5.2 lib/vedeu/events/events.rb
vedeu-0.5.1 lib/vedeu/events/events.rb
vedeu-0.5.0 lib/vedeu/events/events.rb
vedeu-0.4.65 lib/vedeu/events/events.rb
vedeu-0.4.64 lib/vedeu/events/events.rb
vedeu-0.4.63 lib/vedeu/events/events.rb
vedeu-0.4.62 lib/vedeu/events/events.rb
vedeu-0.4.61 lib/vedeu/events/events.rb
vedeu-0.4.60 lib/vedeu/events/events.rb
vedeu-0.4.59 lib/vedeu/events/events.rb