1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

Add missing methods to migrator

This commit is contained in:
Ruben S. Montero 2012-11-01 19:59:45 +01:00
parent 769052f684
commit 950b9c5c0a

View File

@ -18,6 +18,18 @@ require 'set'
require "rexml/document"
include REXML
class String
def red
colorize(31)
end
private
def colorize(color_code)
"\e[#{color_code}m#{self}\e[0m"
end
end
module Migrator
def db_version
"3.9.80"