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

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

Instance Method Summary collapse

Instance Method Details

#hostObject



1733
1734
1735
# File 'lib/dns/zonefile/parser.rb', line 1733

def host
  elements[0]
end

#klassObject



1749
1750
1751
# File 'lib/dns/zonefile/parser.rb', line 1749

def klass
  elements[4]
end

#ms_ageObject



1741
1742
1743
# File 'lib/dns/zonefile/parser.rb', line 1741

def ms_age
  elements[2]
end

#nameserverObject



1757
1758
1759
# File 'lib/dns/zonefile/parser.rb', line 1757

def nameserver
  elements[7]
end

#space1Object



1737
1738
1739
# File 'lib/dns/zonefile/parser.rb', line 1737

def space1
  elements[1]
end

#space2Object



1753
1754
1755
# File 'lib/dns/zonefile/parser.rb', line 1753

def space2
  elements[6]
end

#ttlObject



1745
1746
1747
# File 'lib/dns/zonefile/parser.rb', line 1745

def ttl
  elements[3]
end