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:
parent
8aa8552c2f
commit
5e52c26374
@ -365,9 +365,8 @@ module OpenNebula
|
||||
#
|
||||
def attr_to_str(attr)
|
||||
attr.gsub!('"',"\\\"")
|
||||
attr.prepend('"')
|
||||
attr << '"'
|
||||
|
||||
attr = "\"#{attr}\""
|
||||
|
||||
return attr
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user