lib/ury_rapid/services/set.rb
def enable(name)
        fail(
          Rapid::Common::Exceptions::BadConfig,
          "Tried to enable non-configured service #{name}'."
        ) unless @services.key?(name)

        @enabled_services << name
      end
# Enables a configured service at load-time
#
# @api      semipublic
# @example  Enable a service
#   set.enable(:a_service_name)
#
# @param name [Symbol]
#   The name of the service to enable at load-time.
#
# @return [void]
Enables a configured service at load-time
Enables a configured service at load - time
def enable(name)
        fail(
          Rapid::Common::Exceptions::BadConfig,
          "Tried to enable non-configured service #{name}'."
        ) unless @services.key?(name)
        @enabled_services << name
      end
def enable ( name ) fail ( Rapid :: Common :: Exceptions :: BadConfig , "Tried to enable non-configured service #{name}'." ) unless @services . key? ( name ) @enabled_services << name end
Enables a configured service at load-time
Enables a configured service at load - time
None
void
name
The name of the service to enable at load-time.
The name of the service to enable at load - time .
api
None
example
Enable a service set.enable(:a_service_name)
Enable a service set . enable ( : a_service_name )