Module: Disposable::Twin::Coercion

Defined in:
lib/disposable/twin/coercion.rb

Defined Under Namespace

Modules: ClassMethods, Types

Constant Summary collapse

DRY_TYPES_VERSION =
Gem::Version.new(Dry::Types::VERSION)
DRY_TYPES_CONSTANT =
DRY_TYPES_VERSION < Gem::Version.new("0.13.0") ? Types::Form : Types::Params

Class Method Summary collapse

Class Method Details

.included(includer) ⇒ Object



35
36
37
# File 'lib/disposable/twin/coercion.rb', line 35

def self.included(includer)
  includer.extend ClassMethods
end