ruby-win32/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1-x86-mswin32/lib/sqlite3/translator.rb
def translate( type, value )
      unless value.nil?
        @translators[ type_name( type ) ].call( type, value )
      end
    end
# Translate the given string value to a value of the given type. In the
# absense of an installed translator block for the given type, the value
# itself is always returned. Further, +nil+ values are never translated,
# and are always passed straight through regardless of the type parameter.
Translate the given string value to a value of the given type. In the
absense of an installed translator block for the given type, the value
itself is always returned. Further, +nil+ values are never translated,
and are always passed straight through regardless of the type parameter.
Translate the given string value to a value of the given type . In the absense of an installed translator block for the given type the value itself is always returned . Further + nil + values are never translated and are always passed straight through regardless of the type parameter .
def translate( type, value )
      unless value.nil?
        @translators[ type_name( type ) ].call( type, value )
      end
    end
def translate ( type , value ) unless value . nil? @translators [ type_name ( type ) ] . call ( type , value ) end end
Translate the given string value to a value of the given type.
Translate the given string value to a value of the given type .
type
value