Class Rudy::AWS::EC2::Instance

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

Public instance methods

degraded? ()
[show source]
    # File lib/rudy/aws/ec2/instance.rb, line 34
34:     def degraded?; self.state && self.state == 'degraded'; end
init ()
[show source]
    # File lib/rudy/aws/ec2/instance.rb, line 22
22:     def init
23:       @groups ||= []
24:     end
pending? ()
[show source]
    # File lib/rudy/aws/ec2/instance.rb, line 32
32:     def pending?; self.state && self.state == 'pending'; end
running? ()
[show source]
    # File lib/rudy/aws/ec2/instance.rb, line 31
31:     def running?; self.state && self.state == 'running'; end
shutting_down? ()
[show source]
    # File lib/rudy/aws/ec2/instance.rb, line 35
35:     def shutting_down?; self.state && self.state == 'shutting-down'; end
terminated? ()
[show source]
    # File lib/rudy/aws/ec2/instance.rb, line 33
33:     def terminated?; self.state && self.state == 'terminated'; end
to_s (*args)
[show source]
    # File lib/rudy/aws/ec2/instance.rb, line 26
26:     def to_s(*args)
27:       groups = [@groups].flatten.compact.join(', ')
28:       [self.awsid.bright, self.state, self.dns_public, groups].join '; '
29:     end