lib/swa/ec2/instance.rb in swa-0.4.3 vs lib/swa/ec2/instance.rb in swa-0.4.4
- old
+ new
@@ -9,15 +9,15 @@
include TaggedResource
def summary
[
- pad(i.instance_id, 10),
- pad(i.image_id, 12),
- pad(i.instance_type, 10),
+ field(i, :instance_id),
+ field(i, :image_id),
+ field(i, :instance_type),
pad(i.state.name, 10),
- pad(i.private_ip_address, 14),
- pad(i.public_ip_address, 14),
+ field(i, :private_ip_address),
+ field(i, :public_ip_address),
quoted(name)
].join(" ")
end
def name