class AWS::EC2::AttachmentCollection
def each &block
-
(nil)
-
Other tags:
- Yield: - Each attachment of the volume as an
def each &block volume.attachment_set.each do |item| instance = Instance.new(item.instance_id, :config => config) attachment = Attachment.new(self.volume, instance, item.device, :config => config) yield(attachment) end nil end