class Aws::AutoScaling::FleetGroupCollection
Attributes
fleet[R]
@return [Fleet]
Public Class Methods
new(fleet)
click to toggle source
# File lib/aws-sdk-autoscaling/fleet_group_collection.rb, line 5 def initialize fleet @fleet = fleet end
Public Instance Methods
<<(group)
click to toggle source
Add an existing group to a Fleet
.
@param [Group] The group to add.
# File lib/aws-sdk-autoscaling/fleet_group_collection.rb, line 15 def << group group.set_fleet @fleet.name end
each() { |group_for_tag| ... }
click to toggle source
# File lib/aws-sdk-autoscaling/fleet_group_collection.rb, line 19 def each @fleet.tags.each do |t| yield @fleet.group_for_tag(t) end end