class Dry::Data::Safe
Public Instance Methods
call(input)
click to toggle source
# File lib/dry/data/safe.rb, line 9 def call(input) if input.is_a?(primitive) type.call(input) else input end end
Also aliased as: []