Exception: Dizby::UnknownObjectError
- Inherits:
-
DistributedError
- Object
- RuntimeError
- DistributedError
- Dizby::UnknownObjectError
- Defined in:
- lib/dizby/distributed/unknown.rb
Instance Attribute Summary collapse
-
#unknown
readonly
give access to the UnknownObject class.
Class Method Summary collapse
Instance Method Summary collapse
- #_dump(_)
-
#initialize(unknown) ⇒ UnknownObjectError
constructor
A new instance of UnknownObjectError.
Constructor Details
#initialize(unknown) ⇒ UnknownObjectError
Returns a new instance of UnknownObjectError.
43 44 45 46 |
# File 'lib/dizby/distributed/unknown.rb', line 43 def initialize(unknown) @unknown = unknown super unknown.name end |
Instance Attribute Details
#unknown (readonly)
give access to the UnknownObject class
49 50 51 |
# File 'lib/dizby/distributed/unknown.rb', line 49 def unknown @unknown end |
Class Method Details
._load(str)
51 52 53 |
# File 'lib/dizby/distributed/unknown.rb', line 51 def self._load(str) Marshal.load(str) end |
Instance Method Details
#_dump(_)
55 56 57 |
# File 'lib/dizby/distributed/unknown.rb', line 55 def _dump(_) Marshal.dump(@unknown) end |