Class: Eclair::GCEGroupItem

Inherits:
GroupItem show all
Defined in:
lib/eclair/providers/gce/gce_group_item.rb

Instance Attribute Summary

Attributes inherited from GroupItem

#label, #visible

Attributes inherited from Item

#selected, #visible

Instance Method Summary collapse

Methods inherited from GroupItem

#color, #initialize, #length, #select, #toggle_select

Methods inherited from Item

#command, #id, #initialize, #search_key, #select, #title, #toggle_select

Methods included from ConfigHelper

#config

Constructor Details

This class inherits a constructor from Eclair::GroupItem

Instance Method Details

#headerObject



6
7
8
9
10
11
12
13
# File 'lib/eclair/providers/gce/gce_group_item.rb', line 6

def header
  all = @items.count

  <<-EOS
  Group #{label}
  #{all} instances Total
  EOS
end