AWS| def inspect AWS| "<AWS::EC2::Instance id: #{id}, name: #{tags["Name"]}>" AWS| end AWS| end :inspect AWS> ec2.instances.to_a # => [ [0] <AWS::EC2::Instance id: i-1234f567, name: test-1>, [1] <AWS::EC2::Instance id: i-1234f568, name: test-3>, [2] <AWS::EC2::Instance id: i-1234f569, name: test-2> ]