In Files

Parent

UPnP::SSDP::Advertisement

Abstract class for SSDP advertisements

Public Instance Methods

expiration() click to toggle source

Expiration time of this advertisement

# File lib/UPnP/SSDP.rb, line 47
    def expiration
      date + max_age if date and max_age
    end
expired?() click to toggle source

True if this advertisement has expired

# File lib/UPnP/SSDP.rb, line 54
    def expired?
      Time.now > expiration if expiration
    end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.