module Geocoder::Generators::MigrationVersion
def migration_version
def migration_version if rails_5? "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]" end end
def rails_5?
def rails_5? Rails::VERSION::MAJOR == 5 end
def migration_version if rails_5? "[#{Rails::VERSION::MAJOR}.#{Rails::VERSION::MINOR}]" end end
def rails_5? Rails::VERSION::MAJOR == 5 end