Method: Fog::Compute::OpenNebula::Flavor#get_graphics
- Defined in:
- lib/fog/opennebula/models/compute/flavor.rb
#get_graphics ⇒ Object
97 98 99 100 101 102 103 104 |
# File 'lib/fog/opennebula/models/compute/flavor.rb', line 97 def get_graphics return "" unless graphics ret = "GRAPHICS=#{graphics}\n" ret.gsub!(/\{/, '[') ret.gsub!(/\}/, ']') ret.gsub!(/>/,'') ret end |