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

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

Instance Method Summary collapse

Instance Method Details

#hostObject



677
678
679
# File 'lib/dns/zonefile/parser.rb', line 677

def host
  elements[0]
end

#ip_addressObject



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

def ip_address
  elements[6]
end

#klassObject



689
690
691
# File 'lib/dns/zonefile/parser.rb', line 689

def klass
  elements[3]
end

#space1Object



681
682
683
# File 'lib/dns/zonefile/parser.rb', line 681

def space1
  elements[1]
end

#space2Object



693
694
695
# File 'lib/dns/zonefile/parser.rb', line 693

def space2
  elements[5]
end

#ttlObject



685
686
687
# File 'lib/dns/zonefile/parser.rb', line 685

def ttl
  elements[2]
end