Exception: DNSer::Record::EmptyValue
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- DNSer::Record::EmptyValue
- Defined in:
- lib/dnser/record.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record) ⇒ EmptyValue
constructor
A new instance of EmptyValue.
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
#field ⇒ Object (readonly)
Returns the value of attribute field.
17 18 19 |
# File 'lib/dnser/record.rb', line 17 def field @field end |
#record ⇒ Object (readonly)
Returns the value of attribute record.
16 17 18 |
# File 'lib/dnser/record.rb', line 16 def record @record end |