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

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

Instance Method Summary collapse

Instance Method Details

#hostObject



2042
2043
2044
# File 'lib/dns/zonefile/parser.rb', line 2042

def host
  elements[0]
end

#klassObject



2050
2051
2052
# File 'lib/dns/zonefile/parser.rb', line 2050

def klass
  elements[2]
end

#ms_ageObject



2054
2055
2056
# File 'lib/dns/zonefile/parser.rb', line 2054

def ms_age
  elements[3]
end

#portObject



2082
2083
2084
# File 'lib/dns/zonefile/parser.rb', line 2082

def port
  elements[11]
end

#priorityObject



2066
2067
2068
# File 'lib/dns/zonefile/parser.rb', line 2066

def priority
  elements[7]
end

#space1Object



2046
2047
2048
# File 'lib/dns/zonefile/parser.rb', line 2046

def space1
  elements[1]
end

#space2Object



2062
2063
2064
# File 'lib/dns/zonefile/parser.rb', line 2062

def space2
  elements[6]
end

#space3Object



2070
2071
2072
# File 'lib/dns/zonefile/parser.rb', line 2070

def space3
  elements[8]
end

#space4Object



2078
2079
2080
# File 'lib/dns/zonefile/parser.rb', line 2078

def space4
  elements[10]
end

#space5Object



2086
2087
2088
# File 'lib/dns/zonefile/parser.rb', line 2086

def space5
  elements[12]
end

#targetObject



2090
2091
2092
# File 'lib/dns/zonefile/parser.rb', line 2090

def target
  elements[13]
end

#ttlObject



2058
2059
2060
# File 'lib/dns/zonefile/parser.rb', line 2058

def ttl
  elements[4]
end

#weightObject



2074
2075
2076
# File 'lib/dns/zonefile/parser.rb', line 2074

def weight
  elements[9]
end