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

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

Instance Method Summary collapse

Instance Method Details

#hostObject



1650
1651
1652
# File 'lib/dns/zonefile/parser.rb', line 1650

def host
  elements[0]
end

#klassObject



1666
1667
1668
# File 'lib/dns/zonefile/parser.rb', line 1666

def klass
  elements[4]
end

#ms_ageObject



1658
1659
1660
# File 'lib/dns/zonefile/parser.rb', line 1658

def ms_age
  elements[2]
end

#nameserverObject



1674
1675
1676
# File 'lib/dns/zonefile/parser.rb', line 1674

def nameserver
  elements[7]
end

#space1Object



1654
1655
1656
# File 'lib/dns/zonefile/parser.rb', line 1654

def space1
  elements[1]
end

#space2Object



1670
1671
1672
# File 'lib/dns/zonefile/parser.rb', line 1670

def space2
  elements[6]
end

#ttlObject



1662
1663
1664
# File 'lib/dns/zonefile/parser.rb', line 1662

def ttl
  elements[3]
end