Module: DNS::Zonefile::ZonefileGrammar::SrvRecord2

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

Instance Method Summary collapse

Instance Method Details

#hostObject



2096
2097
2098
# File 'lib/dns/zonefile/parser.rb', line 2096

def host
  elements[0]
end

#ms_ageObject



2104
2105
2106
# File 'lib/dns/zonefile/parser.rb', line 2104

def ms_age
  elements[2]
end

#portObject



2132
2133
2134
# File 'lib/dns/zonefile/parser.rb', line 2132

def port
  elements[10]
end

#priorityObject



2116
2117
2118
# File 'lib/dns/zonefile/parser.rb', line 2116

def priority
  elements[6]
end

#space1Object



2100
2101
2102
# File 'lib/dns/zonefile/parser.rb', line 2100

def space1
  elements[1]
end

#space2Object



2112
2113
2114
# File 'lib/dns/zonefile/parser.rb', line 2112

def space2
  elements[5]
end

#space3Object



2120
2121
2122
# File 'lib/dns/zonefile/parser.rb', line 2120

def space3
  elements[7]
end

#space4Object



2128
2129
2130
# File 'lib/dns/zonefile/parser.rb', line 2128

def space4
  elements[9]
end

#space5Object



2136
2137
2138
# File 'lib/dns/zonefile/parser.rb', line 2136

def space5
  elements[11]
end

#targetObject



2140
2141
2142
# File 'lib/dns/zonefile/parser.rb', line 2140

def target
  elements[12]
end

#ttlObject



2108
2109
2110
# File 'lib/dns/zonefile/parser.rb', line 2108

def ttl
  elements[3]
end

#weightObject



2124
2125
2126
# File 'lib/dns/zonefile/parser.rb', line 2124

def weight
  elements[8]
end