Method: Fog::Compute::OpenNebula::Network#to_label
- Defined in:
- lib/fog/opennebula/models/compute/network.rb
#to_label ⇒ Object
32 33 34 35 36 37 |
# File 'lib/fog/opennebula/models/compute/network.rb', line 32 def to_label ret = "" ret += "#{description} - " unless description.empty? ret += "VLAN #{vlan} - " unless vlan.empty? ret += "#{name}" end |