module Cangaroo::Migration

Public Class Methods

[](version) click to toggle source
# File lib/cangaroo/migration.rb, line 3
def self.[](version)
  if Rails.gem_version >= Gem::Version.new('5.0')
    ActiveRecord::Migration[version]
  else
    ActiveRecord::Migration
  end
end