Method: Fog::AWS::AutoScaling::Group#instances_in_service
- Defined in:
- lib/fog/aws/models/auto_scaling/group.rb
#instances_in_service ⇒ Object
81 82 83 |
# File 'lib/fog/aws/models/auto_scaling/group.rb', line 81 def instances_in_service attributes[:instances].select {|hash| hash['LifecycleState'] == 'InService'}.map {|hash| hash['InstanceId']} end |