class Hostname::Parser

Defined in:

hostname/parser.cr

Constant Summary

SEPARATOR = '.'

Constructors

Class Method Summary

Constructor Detail

def self.new(string : String) #

[View source]

Class Method Detail

def self.parse(string : String) : Array(String)? #

[View source]
def self.validate(parts : Array(String)) : Array(String)? #

[View source]
def self.validate_parts(parts : Array(String)) : Array(String)? #

[View source]
def self.validate_sizes(parts : Array(String)) : Array(String)? #

[View source]