Class: Rudy::AWS::EC2::Address
- Inherits:
-
Storable
- Object
- Storable
- Rudy::AWS::EC2::Address
- Defined in:
- lib/rudy/aws/ec2/address.rb
Instance Method Summary collapse
Instance Method Details
#associated? ⇒ Boolean
20 21 22 |
# File 'lib/rudy/aws/ec2/address.rb', line 20 def associated? !@instid.nil? && !@instid.empty? end |
#liner_note ⇒ Object
11 12 13 14 |
# File 'lib/rudy/aws/ec2/address.rb', line 11 def liner_note info = self.associated? ? @instid : "available" "%s (%s)" % [@ipaddress.to_s.bright, info] end |
#to_s(with_titles = false) ⇒ Object
16 17 18 |
# File 'lib/rudy/aws/ec2/address.rb', line 16 def to_s(with_titles=false) liner_note end |