Sha256: 59cc39c91e95109422f66c0427040d338398bf34463ca6996affcdabba109ccd

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

module Vedeu

  # Allows the storing of view groups.
  #
  class Groups < Repository

    # @return [Vedeu::Groups]
    def self.groups
      @groups ||= reset!
    end

    # @return [Vedeu::Groups]
    def self.repository
      Vedeu.groups
    end

    # @return [Vedeu::Groups]
    def self.reset!
      @groups = Vedeu::Groups.new(Vedeu::Group)
    end

  end # Groups

end # Vedeu

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.4.15 lib/vedeu/repositories/repositories/groups.rb
vedeu-0.4.14 lib/vedeu/repositories/repositories/groups.rb