Module: DNS::Zonefile::ZonefileGrammar::SrvRecord1

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

Instance Method Summary collapse

Instance Method Details

#hostObject



1934
1935
1936
# File 'lib/dns/zonefile/parser.rb', line 1934

def host
  elements[0]
end

#klassObject



1942
1943
1944
# File 'lib/dns/zonefile/parser.rb', line 1942

def klass
  elements[2]
end

#portObject



1970
1971
1972
# File 'lib/dns/zonefile/parser.rb', line 1970

def port
  elements[10]
end

#priorityObject



1954
1955
1956
# File 'lib/dns/zonefile/parser.rb', line 1954

def priority
  elements[6]
end

#space1Object



1938
1939
1940
# File 'lib/dns/zonefile/parser.rb', line 1938

def space1
  elements[1]
end

#space2Object



1950
1951
1952
# File 'lib/dns/zonefile/parser.rb', line 1950

def space2
  elements[5]
end

#space3Object



1958
1959
1960
# File 'lib/dns/zonefile/parser.rb', line 1958

def space3
  elements[7]
end

#space4Object



1966
1967
1968
# File 'lib/dns/zonefile/parser.rb', line 1966

def space4
  elements[9]
end

#space5Object



1974
1975
1976
# File 'lib/dns/zonefile/parser.rb', line 1974

def space5
  elements[11]
end

#targetObject



1978
1979
1980
# File 'lib/dns/zonefile/parser.rb', line 1978

def target
  elements[12]
end

#ttlObject



1946
1947
1948
# File 'lib/dns/zonefile/parser.rb', line 1946

def ttl
  elements[3]
end

#weightObject



1962
1963
1964
# File 'lib/dns/zonefile/parser.rb', line 1962

def weight
  elements[8]
end