Module: ServiceBase::Types

Defined in:
lib/service_base/types.rb

Constant Summary collapse

Boolean =

Alias Bool -> Boolean

Dry::Types['bool']

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
# File 'lib/service_base/types.rb', line 7

def self.included(base)
  constants.each { |constant| base.const_set(constant, const_get("#{self}::#{constant}")) }
end