Module: DNS::Zonefile::ZonefileGrammar::NsRecord0

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

Instance Method Summary collapse

Instance Method Details

#hostObject



1345
1346
1347
# File 'lib/dns/zonefile/parser.rb', line 1345

def host
  elements[0]
end

#klassObject



1357
1358
1359
# File 'lib/dns/zonefile/parser.rb', line 1357

def klass
  elements[3]
end

#nameserverObject



1365
1366
1367
# File 'lib/dns/zonefile/parser.rb', line 1365

def nameserver
  elements[6]
end

#space1Object



1349
1350
1351
# File 'lib/dns/zonefile/parser.rb', line 1349

def space1
  elements[1]
end

#space2Object



1361
1362
1363
# File 'lib/dns/zonefile/parser.rb', line 1361

def space2
  elements[5]
end

#ttlObject



1353
1354
1355
# File 'lib/dns/zonefile/parser.rb', line 1353

def ttl
  elements[2]
end