Method: Bfire::Group#inspect
- Defined in:
- lib/bfire/group.rb
#inspect ⇒ Object
163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/bfire/group.rb', line 163 def inspect s = "#<#{self.class.name}:0x#{object_id.to_s(16)}" s << " #{banner}" if s << "VMs: " s << computes.map{|vm| [vm['name'].inspect, (vm['nic'] || []).map{|n| n['ip'] }.inspect].join("=") }.join("; ") s << ">" end |