Sha256: 60126618c73a10b8f9a9d08c15ab8133b3acae45be0520e6f59fee28505bf755
Contents?: true
Size: 776 Bytes
Versions: 20
Compression:
Stored size: 776 Bytes
Contents
module Vedeu module Events # Allows the storing of events. # class Repository < Vedeu::Repositories::Repository singleton_class.send(:alias_method, :events, :repository) class << self # Remove all stored models from the repository. # # @example # Vedeu.events.reset! # # @return [Vedeu::Events::Repository] def reset! @events = new(Vedeu::Events::Collection) end alias_method :reset, :reset! end # Eigenclass end # Repository end # Events # Manipulate the repository of events. # # @example # Vedeu.events # # @!method events # @return [Vedeu::Events::Repository] def_delegators Vedeu::Events::Repository, :events end # Vedeu
Version data entries
20 entries across 20 versions & 1 rubygems