Module: DNS::Zonefile::ZonefileGrammar::Integer0
- Defined in:
- lib/dns/zonefile/parser.rb
Instance Method Summary collapse
Instance Method Details
#to_i ⇒ Object
3164 3165 3166 |
# File 'lib/dns/zonefile/parser.rb', line 3164 def to_i text_value.to_i end |
#to_s ⇒ Object
3167 3168 3169 |
# File 'lib/dns/zonefile/parser.rb', line 3167 def to_s "#{to_i}" end |