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

bug #1117: Get rid of unsupported API calls in Ruby 1.8.7

This commit is contained in:
Ruben S. Montero 2012-04-02 19:19:53 +02:00
parent 8aa8552c2f
commit 5e52c26374

View File

@ -365,9 +365,8 @@ module OpenNebula
#
def attr_to_str(attr)
attr.gsub!('"',"\\\"")
attr.prepend('"')
attr << '"'
attr = "\"#{attr}\""
return attr
end
end