ec2-instance 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/ec2-instance.rb +1 -1
- metadata +2 -2
data/lib/ec2-instance.rb
CHANGED
@@ -26,7 +26,7 @@ module AWS
|
|
26
26
|
#
|
27
27
|
# Return a list of active instances which have a tag value which regexp matches.
|
28
28
|
#
|
29
|
-
def
|
29
|
+
def active_instances_with_tag(tag)
|
30
30
|
matches = []
|
31
31
|
active_instances.each do |ai|
|
32
32
|
matches.push ai unless !ai.match?(tag)
|