edge badge
Methods
#
N
T
Included Modules
Class Public methods
new(version_string)
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 145
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 149
def <=>(version_string)
  @version <=> version_string.split(".").map(&:to_i)
end
to_s()
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 153
def to_s
  @version.join(".")
end