Sha256: 4c83729eaff0afeb58331aee8df41bb03a7d79380f3d264c86e154366570c0d2
Contents?: true
Size: 483 Bytes
Versions: 5
Compression:
Stored size: 483 Bytes
Contents
module Vedeu # Allows the storing of events. class EventsRepository < Repository class << self # @return [Vedeu::EventsRepository] def events @events ||= reset! end alias_method :repository, :events # Remove all stored models from the repository. # # @return [Vedeu::EventsRepository] def reset! @events = Vedeu::EventsRepository.new(Vedeu::Events) end end end # EventsRepository end # Vedeu
Version data entries
5 entries across 5 versions & 1 rubygems