lib/ury_rapid/services/set.rb
# Creates a sub-group of this service set
#
# @api      semipublic
# @example  Create a sub-group named :my_group with a service configured
#   set.group(:my_group) do
#     set.configure(:a_service_name, Service::Class::Here) do
#       # Service DSL goes here
#     end
#   end
#
# @param name [Symbol]
#   The name to give to this sub-group.
#
# @return [void]
Creates a sub-group of this service set
Creates a sub - group of this service set
def group(name, &block)
        configure(name, Set) do
          instance_eval(&block)
        end
      end
def group ( name , & block ) configure ( name , Set ) do instance_eval ( & block ) end end
Creates a sub-group of this service set
Creates a sub - group of this service set
None
void
name
The name to give to this sub-group.
The name to give to this sub - group .
block
api
None
example
Create a sub-group named :my_group with a service configured set.group(:my_group) do set.configure(:a_service_name, Service::Class::Here) do # Service DSL goes here end end
Create a sub - group named : my_group with a service configured set . group ( : my_group ) do set . configure ( : a_service_name Service :: Class :: Here ) do # Service DSL goes here end end