Exception: DNSer::Record::EmptyValue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(record) ⇒ EmptyValue

Returns a new instance of EmptyValue.



18
19
20
# File 'lib/dnser/record.rb', line 18

def initialize record
  @record = record
end

Instance Attribute Details

#fieldObject (readonly)

Returns the value of attribute field.



17
18
19
# File 'lib/dnser/record.rb', line 17

def field
  @field
end

#recordObject (readonly)

Returns the value of attribute record.



16
17
18
# File 'lib/dnser/record.rb', line 16

def record
  @record
end