module Oid::LoggerService::Helper
Defined in:
Instance Method Summary
-
#add_component_logger_service : Entitas::Entity
Add a
Oid::LoggerService
to the entity. -
#add_component_logger_service(**args) : Entitas::Entity
Add a
Oid::LoggerService
to the entity. -
#add_logger_service(instance : Oid::Service::Logger) : Entitas::Entity
Add a
Oid::LoggerService
to the entity. -
#del_component_logger_service : Entitas::Entity
Delete
Oid::LoggerService
from the entity. -
#del_logger_service : Entitas::Entity
Delete
Oid::LoggerService
from the entity. -
#get_component_logger_service : Oid::LoggerService
Will return the component that is a
Oid::LoggerService
or raise -
#has_component_logger_service? : Bool
Will return true if the entity has an component
Oid::LoggerService
or false if it does not -
#has_logger_service? : Bool
Will return true if the entity has an component
Oid::LoggerService
or false if it does not -
#logger_service : Oid::LoggerService
Will return the component that is a
Oid::LoggerService
or raise -
#logger_service? : Bool
Alias.
-
#remove_component_logger_service
Append.
-
#remove_logger_service
Append.
-
#replace_component_logger_service(component : Oid::LoggerService)
Append.
-
#replace_component_logger_service(**args)
Will replace the current component with the new one generated from the provided arguments
-
#replace_logger_service(instance : Oid::Service::Logger)
Will replace the current component with the new one generated from the provided arguments
-
#replace_logger_service(component : Oid::LoggerService)
Will replace the current component with the new one provided
Instance Method Detail
Add a Oid::LoggerService
to the entity. Returns self
to allow chainables
entity.add_component_logger_service
Add a Oid::LoggerService
to the entity. Returns self
to allow chainables
entity.add_component_logger_service
Add a Oid::LoggerService
to the entity. Returns self
to allow chainables
entity.add_logger_service(1)
Delete Oid::LoggerService
from the entity. Returns self
to allow chainables
entity.del_logger_service
entity.logger_service # => nil
Delete Oid::LoggerService
from the entity. Returns self
to allow chainables
entity.del_logger_service
entity.logger_service # => nil
Will return the component that is a Oid::LoggerService
or raise
Will return true if the entity has an component Oid::LoggerService
or false if it does not
Will return true if the entity has an component Oid::LoggerService
or false if it does not
Will return the component that is a Oid::LoggerService
or raise
Append. Alias for #replace_logger_service
Will replace the current component with the new one generated from the provided arguments
entity.replace_logger_service
entity.get_logger_service # => (new_comp)
Will replace the current component with the new one generated from the provided arguments
entity.replace_logger_service(value: 1)
entity.get_logger_service # => (new_comp)
or
entity.replace_logger_service(1)
entity.get_logger_service # => (new_comp)
Will replace the current component with the new one provided
entity.replace_component_logger_service(new_comp)
entity.get_logger_service # => (new_comp)