Exception: DNSer::Record::Unknown

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/dnser/record.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, args) ⇒ Unknown

Returns a new instance of Unknown.



9
10
11
12
# File 'lib/dnser/record.rb', line 9

def initialize name, args
  @name = name
  @args = args
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



8
9
10
# File 'lib/dnser/record.rb', line 8

def args
  @args
end

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/dnser/record.rb', line 7

def name
  @name
end