Sha256: 401635901d13082cfc2cbcd58b4536041b31608d48a7b6dfe14ffc7a6c74d77a

Contents?: true

Size: 635 Bytes

Versions: 10

Compression:

Stored size: 635 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  module Groups

    # Allows the storing of view groups.
    #
    class Repository < Vedeu::Repositories::Repository

      singleton_class.send(:alias_method, :groups, :repository)

      null Vedeu::Groups::Group
      real Vedeu::Groups::Group

    end # Groups

    class Group

      repo Vedeu::Groups::Repository.repository

    end # Group

  end # Groups

  # Manipulate the repository of groups.
  #
  # @example
  #   Vedeu.groups
  #
  # @!method groups
  # @return [Vedeu::Groups::Repository]
  def_delegators Vedeu::Groups::Repository,
                 :groups

end # Vedeu

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.8.10 lib/vedeu/groups/repository.rb
vedeu-0.8.9 lib/vedeu/groups/repository.rb
vedeu-0.8.8 lib/vedeu/groups/repository.rb
vedeu-0.8.7 lib/vedeu/groups/repository.rb
vedeu-0.8.6 lib/vedeu/groups/repository.rb
vedeu-0.8.5 lib/vedeu/groups/repository.rb
vedeu-0.8.4 lib/vedeu/groups/repository.rb
vedeu-0.8.3 lib/vedeu/groups/repository.rb
vedeu-0.8.2 lib/vedeu/groups/repository.rb
vedeu-0.8.1 lib/vedeu/groups/repository.rb