Module: DNS::Zonefile::ZonefileGrammar::Variable1

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

Instance Method Summary collapse

Instance Method Details

#parse_typeObject



179
# File 'lib/dns/zonefile/parser.rb', line 179

def parse_type ; :variable ; end

#to_sObject



175
176
177
# File 'lib/dns/zonefile/parser.rb', line 175

def to_s
  "$#{name.text_value.to_s} #{value.text_value.to_s}"
end