Module: DNS::Zonefile::ZonefileGrammar::Integer0
- Defined in:
- lib/dns/zonefile/parser.rb
Instance Method Summary collapse
Instance Method Details
#to_i ⇒ Object
2612 2613 2614 |
# File 'lib/dns/zonefile/parser.rb', line 2612 def to_i text_value.to_i end |
#to_s ⇒ Object
2615 2616 2617 |
# File 'lib/dns/zonefile/parser.rb', line 2615 def to_s "#{to_i}" end |