Module: DNS::Zonefile::ZonefileGrammar::Ttl1
- Defined in:
- lib/dns/zonefile/parser.rb
Instance Method Summary collapse
Instance Method Details
#to_i ⇒ Object
3008 3009 3010 |
# File 'lib/dns/zonefile/parser.rb', line 3008 def to_i respond_to?(:time_interval) ? time_interval.to_i : nil end |
#to_s ⇒ Object
3011 3012 3013 |
# File 'lib/dns/zonefile/parser.rb', line 3011 def to_s respond_to?(:time_interval) ? time_interval.to_s : '' end |