Included Modules

Class Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::SQLite3Column

Public Class Methods

binary_to_string(value) click to toggle source
     # File lib/arjdbc/sqlite3/adapter.rb, line 321
321:     def self.binary_to_string(value)
322:       if value.respond_to?(:force_encoding) && value.encoding != Encoding::ASCII_8BIT
323:         value = value.force_encoding(Encoding::ASCII_8BIT)
324:       end
325: 
326:       if value[0..3] == "\0000b64"
327:         value[4..1].unpack('m*').first
328:       else
329:         value
330:       end
331:     end
new(name, *args) click to toggle source
     # File lib/arjdbc/sqlite3/adapter.rb, line 306
306:     def initialize(name, *args)
307:       if Hash === name
308:         super
309:       else
310:         super(nil, name, *args)
311:       end
312:     end
string_to_binary(value) click to toggle source
     # File lib/arjdbc/sqlite3/adapter.rb, line 317
317:     def self.string_to_binary(value)
318:       "\0000b64" + [value].pack('m*').split("\n").join('')
319:     end

Public Instance Methods

call_discovered_column_callbacks(*) click to toggle source
     # File lib/arjdbc/sqlite3/adapter.rb, line 314
314:     def call_discovered_column_callbacks(*)
315:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.