Class: Radiator::Type::Serializer
- Inherits:
-
Object
- Object
- Radiator::Type::Serializer
- Includes:
- Utils
- Defined in:
- lib/radiator/type/serializer.rb
Direct Known Subclasses
Array, Beneficiaries, Future, Hash, Permission, PointInTime, Price, PublicKey, Uint16, Uint32
Instance Method Summary collapse
-
#initialize(key, value) ⇒ Serializer
constructor
A new instance of Serializer.
Methods included from Utils
#debug, #error, #extract_signatures, #hexlify, #pakArr, #pakC, #pakHash, #pakI, #pakL!, #pakS, #pakStr, #pakc, #paks, #send_log, #unhexlify, #varint, #warning
Constructor Details
#initialize(key, value) ⇒ Serializer
Returns a new instance of Serializer.
6 7 8 9 |
# File 'lib/radiator/type/serializer.rb', line 6 def initialize(key, value) @key = key @value = value end |