module T::Props::Serializable::DecoratorMethods

def from_hash(hash, strict=false)

def from_hash(hash, strict=false)
  raise ArgumentError.new("#{hash.inspect} provided to from_hash") if !(hash && hash.is_a?(Hash))
  i = @class.allocate
  i.deserialize(hash, strict)
  i
end