class ActiveRecord::ConnectionAdapters::SQLite3Adapter::Version - activerecord-4.2.5.2 Documentation

# class ActiveRecord::ConnectionAdapters::SQLite3Adapter::Version

### Public Class Methods

new(version_string) click to toggle source

    # File lib/active_record/connection_adapters/sqlite3_adapter.rb, line 80
    def initialize(version_string)
      @version = version_string.split('.').map { |v| v.to_i }
    end

### Public Instance Methods

<=>(version_string) click to toggle source

    # File lib/active_record/connection_adapters/sqlite3_adapter.rb, line 84
    def <=>(version_string)
      @version <=> version_string.split('.').map { |v| v.to_i }
    end