class TenderHash::Caster
Public Class Methods
for(cast_to)
click to toggle source
# File lib/tender_hash/caster.rb, line 3 def self.for(cast_to) if cast_to.respond_to?(:call) cast_to else Default.new(cast_to) end end