lib/vedeu/dsl/group.rb in vedeu-0.4.55 vs lib/vedeu/dsl/group.rb in vedeu-0.4.56
- old
+ new
@@ -31,21 +31,21 @@
# Creating a group with the same name as an existing group overwrites
# the existing group.
#
# @param name [String] The name of this group.
# @param block [Proc]
- # @raise [InvalidSyntax] The required block was not given.
+ # @raise [Vedeu::InvalidSyntax] The required block was not given.
# @return [Vedeu::Group]
def self.group(name, &block)
- fail InvalidSyntax, 'block not given' unless block_given?
+ fail Vedeu::InvalidSyntax, 'block not given' unless block_given?
Vedeu::Group.build({ name: name }, &block).store
end
# Returns an instance of DSL::Group.
#
- # @param model [Group]
+ # @param model [Vedeu::Group]
# @param client [Object]
# @return [Vedeu::DSL::Group]
def initialize(model, client = nil)
@model = model
@client = client
@@ -64,10 +64,10 @@
# @!attribute [r] client
# @return [Object]
attr_reader :client
# @!attribute [r] model
- # @return [Group]
+ # @return [Vedeu::Group]
attr_reader :model
end # Group
end # DSL