# File lib/tramp/attribute.rb, line 76
    def type_cast(value)
      if value.is_a?(expected_type)
        value
      elsif (converter = CONVERTERS[expected_type]) && (value =~ FORMATS[expected_type])
        converter.call(value)
      else
        value
      end
    end