Method: Dry::Types::Map#call_safe

Defined in:
lib/dry/types/map.rb

#call_safe(hash) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



61
# File 'lib/dry/types/map.rb', line 61

def call_safe(hash) = try(hash) { return yield }.input