Sha256: b8681f35abdaa7125544ea1a3325907d7bbf4f8064aea7d23351d333a280a402

Contents?: true

Size: 651 Bytes

Versions: 9

Compression:

Stored size: 651 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
  #
  # @api public
  # @!method groups
  # @return [Vedeu::Groups::Repository]
  def_delegators Vedeu::Groups::Repository,
                 :groups

end # Vedeu

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vedeu-0.8.20 lib/vedeu/groups/repository.rb
vedeu-0.8.19 lib/vedeu/groups/repository.rb
vedeu-0.8.18 lib/vedeu/groups/repository.rb
vedeu-0.8.17 lib/vedeu/groups/repository.rb
vedeu-0.8.16 lib/vedeu/groups/repository.rb
vedeu-0.8.15 lib/vedeu/groups/repository.rb
vedeu-0.8.14 lib/vedeu/groups/repository.rb
vedeu-0.8.13 lib/vedeu/groups/repository.rb
vedeu-0.8.12 lib/vedeu/groups/repository.rb