lib/poolparty/net/remoter_bases/ec2/ec2_remote_instance.rb
def find_myself(unique_identifiers = @original_options.keys)
        description_hash = @my_cloud.describe_instances.detect do|node|
          unique_identifiers.detect{|identifier_key| node[identifier_key] == options[identifier_key]
            }
        end
        return nil if description_hash.blank?
        @found_at = Time.now
        self.set_vars_from_options(description_hash)
        self
      end
# Search the clouds describe_instances list for the first match on one of this nodes unique identifiers
Search the clouds describe_instances list for the first match on one of this nodes unique identifiers
Search the clouds describe_instances list for the first match on one of this nodes unique identifiers
def find_myself(unique_identifiers = @original_options.keys)
        description_hash = @my_cloud.describe_instances.detect do|node|
          unique_identifiers.detect{|identifier_key| node[identifier_key] == options[identifier_key]
            }
        end
        return nil if description_hash.blank?
        @found_at = Time.now
        self.set_vars_from_options(description_hash)
        self
      end
def find_myself ( unique_identifiers = @original_options . keys ) description_hash = @my_cloud . describe_instances . detect do | node | unique_identifiers . detect { | identifier_key | node [ identifier_key ] == options [ identifier_key ] } end return nil if description_hash . blank? @found_at = Time . now self . set_vars_from_options ( description_hash ) self end
Search the clouds describe_instances list for the first match on one of this nodes unique identifiers
Search the clouds describe_instances list for the first match on one of this nodes unique identifiers
unique_identifiers
keys