Source: show | on GitHub
# File activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb, line 29 def initialize(version_string) @version = version_string.split('.').map { |v| v.to_i } end
# File activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb, line 33 def <=>(version_string) @version <=> version_string.split('.').map { |v| v.to_i } end