edge badge
Methods
#
N
Included Modules
Class Public methods
new(version_string)
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 124
def initialize(version_string)
  @version = version_string.split(".").map(&:to_i)
end
Instance Public methods
<=>(version_string)
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 128
def <=>(version_string)
  @version <=> version_string.split(".").map(&:to_i)
end