class Dry::Types::Safe
def call(input)
-
(Object)
-
Parameters:
-
input
(Object
) --
def call(input) result = try(input) if result.respond_to?(:input) result.input else input end end
(Object)
-
input
(Object
)
--
def call(input) result = try(input) if result.respond_to?(:input) result.input else input end end