Module: DNS::Zonefile::ZonefileGrammar::ARecord0

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

Instance Method Summary collapse

Instance Method Details

#hostObject



698
699
700
# File 'lib/dns/zonefile/parser.rb', line 698

def host
  elements[0]
end

#ip_addressObject



718
719
720
# File 'lib/dns/zonefile/parser.rb', line 718

def ip_address
  elements[6]
end

#klassObject



710
711
712
# File 'lib/dns/zonefile/parser.rb', line 710

def klass
  elements[3]
end

#space1Object



702
703
704
# File 'lib/dns/zonefile/parser.rb', line 702

def space1
  elements[1]
end

#space2Object



714
715
716
# File 'lib/dns/zonefile/parser.rb', line 714

def space2
  elements[5]
end

#ttlObject



706
707
708
# File 'lib/dns/zonefile/parser.rb', line 706

def ttl
  elements[2]
end