Module: DNS::Zonefile::ZonefileGrammar::SrvRecord0

Defined in:
lib/dns/zonefile/parser.rb

Instance Method Summary collapse

Instance Method Details

#hostObject



1884
1885
1886
# File 'lib/dns/zonefile/parser.rb', line 1884

def host
  elements[0]
end

#klassObject



1896
1897
1898
# File 'lib/dns/zonefile/parser.rb', line 1896

def klass
  elements[3]
end

#portObject



1920
1921
1922
# File 'lib/dns/zonefile/parser.rb', line 1920

def port
  elements[10]
end

#priorityObject



1904
1905
1906
# File 'lib/dns/zonefile/parser.rb', line 1904

def priority
  elements[6]
end

#space1Object



1888
1889
1890
# File 'lib/dns/zonefile/parser.rb', line 1888

def space1
  elements[1]
end

#space2Object



1900
1901
1902
# File 'lib/dns/zonefile/parser.rb', line 1900

def space2
  elements[5]
end

#space3Object



1908
1909
1910
# File 'lib/dns/zonefile/parser.rb', line 1908

def space3
  elements[7]
end

#space4Object



1916
1917
1918
# File 'lib/dns/zonefile/parser.rb', line 1916

def space4
  elements[9]
end

#space5Object



1924
1925
1926
# File 'lib/dns/zonefile/parser.rb', line 1924

def space5
  elements[11]
end

#targetObject



1928
1929
1930
# File 'lib/dns/zonefile/parser.rb', line 1928

def target
  elements[12]
end

#ttlObject



1892
1893
1894
# File 'lib/dns/zonefile/parser.rb', line 1892

def ttl
  elements[2]
end

#weightObject



1912
1913
1914
# File 'lib/dns/zonefile/parser.rb', line 1912

def weight
  elements[8]
end