Class: DJB::TinyDNS::Cache

Inherits:
Service
  • Object
show all
Defined in:
lib/djb/tinydns.rb

Instance Attribute Summary

Attributes inherited from Service

#root, #svc

Instance Method Summary collapse

Methods inherited from Service

#alarm, #continue, #down, #env, #exit, #hangup, #interrupt, #kill, #make, #once, #pause, #restart, #start, #stop, #terminate, #up

Constructor Details

#initialize(*args) ⇒ Cache

Returns a new instance of Cache.



12
13
14
# File 'lib/djb/tinydns.rb', line 12

def initialize(*args)
    super(*args)
end

Instance Method Details

#fnObject

Raises:

  • (RuntimeError)


16
17
18
# File 'lib/djb/tinydns.rb', line 16

def fn
    raise RuntimeError, 'DJB::TinyDNS::Cache does not have a configuraton file!'
end