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