Module: DNS::Zonefile::ZonefileGrammar::SrvRecord3

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

Instance Method Summary collapse

Instance Method Details

#hostObject



2229
2230
2231
# File 'lib/dns/zonefile/parser.rb', line 2229

def host
  elements[0]
end

#klassObject



2237
2238
2239
# File 'lib/dns/zonefile/parser.rb', line 2237

def klass
  elements[2]
end

#portObject



2261
2262
2263
# File 'lib/dns/zonefile/parser.rb', line 2261

def port
  elements[9]
end

#priorityObject



2245
2246
2247
# File 'lib/dns/zonefile/parser.rb', line 2245

def priority
  elements[5]
end

#space1Object



2233
2234
2235
# File 'lib/dns/zonefile/parser.rb', line 2233

def space1
  elements[1]
end

#space2Object



2241
2242
2243
# File 'lib/dns/zonefile/parser.rb', line 2241

def space2
  elements[4]
end

#space3Object



2249
2250
2251
# File 'lib/dns/zonefile/parser.rb', line 2249

def space3
  elements[6]
end

#space4Object



2257
2258
2259
# File 'lib/dns/zonefile/parser.rb', line 2257

def space4
  elements[8]
end

#space5Object



2265
2266
2267
# File 'lib/dns/zonefile/parser.rb', line 2265

def space5
  elements[10]
end

#targetObject



2269
2270
2271
# File 'lib/dns/zonefile/parser.rb', line 2269

def target
  elements[11]
end

#weightObject



2253
2254
2255
# File 'lib/dns/zonefile/parser.rb', line 2253

def weight
  elements[7]
end