Class Rudy::AWS::EC2::Address

  1. lib/rudy/aws/ec2/address.rb
Parent: Storable

Methods

public instance

  1. associated?
  2. liner_note
  3. to_s

Public instance methods

associated? ()
[show source]
    # File lib/rudy/aws/ec2/address.rb, line 20
20:       def associated?
21:         !@instid.nil? && !@instid.empty?
22:       end
liner_note ()
[show source]
    # File lib/rudy/aws/ec2/address.rb, line 11
11:       def liner_note
12:         info = self.associated? ? @instid : "available"
13:         "%s (%s)" % [@ipaddress.to_s.bright, info]
14:       end
to_s (with_titles=false)
[show source]
    # File lib/rudy/aws/ec2/address.rb, line 16
16:       def to_s(with_titles=false)
17:         liner_note
18:       end