enum DPPM::Prefix::PkgFile::Type


Supported application types.

Defined in:


Enum Members

HTML = 0
HTTP = 1
Lib = 2
PHP = 3
TCP = 4
UDP = 6


Instance Method Summary

Constructor Detail

def self.new(type : String) #

[View source]

Instance Method Detail

def html? #

[View source]
def http? #

[View source]
def lib? #

[View source]
def php? #

[View source]
def tcp? #

[View source]
def tcp_udp? #

[View source]
def to_s(io : IO) : Nil #
Description copied from struct Enum

Appends a String representation of this enum member to the given io.

See also: #to_s.

[View source]
def udp? #

[View source]
def webapp! #

Raises if the application isn't a webapp; not of a HTML, HTTP or PHP type.

[View source]
def webapp? : Bool #

Returns true if the type is usually used along with an url.

[View source]