ActiveRecord::ConnectionAdapters::AbstractAdapter::Version
Methods
#
N
Included Modules
  • Comparable
Class Public methods
new(version_string)
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 121
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 125
def <=>(version_string)
  @version <=> version_string.split(".").map(&:to_i)
end