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.
46 47 48 49 |
# File 'lib/dizby/distributed/unknown.rb', line 46 def initialize(unknown) @unknown = unknown super unknown.name end |
Instance Attribute Details
#unknown (readonly)
give access to the UnknownObject class
52 53 54 |
# File 'lib/dizby/distributed/unknown.rb', line 52 def unknown @unknown end |
Class Method Details
._load(str)
54 55 56 |
# File 'lib/dizby/distributed/unknown.rb', line 54 def self._load(str) Marshal.load(str) end |
Instance Method Details
#_dump(_)
58 59 60 |
# File 'lib/dizby/distributed/unknown.rb', line 58 def _dump(_) Marshal.dump(@unknown) end |