Class: Beowulf::Type::Serializer
- Inherits:
-
Object
- Object
- Beowulf::Type::Serializer
- Includes:
- Utils
- Defined in:
- lib/beowulf/type/serializer.rb
Direct Known Subclasses
Amount, Array, Future, Hash, Permission, PointInTime, 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!, #pakPubKey, #pakQ, #pakS, #pakStr, #pakc, #pakq, #paks, #send_log, #unhexlify, #varint, #warning
Constructor Details
#initialize(key, value) ⇒ Serializer
Returns a new instance of Serializer.
6 7 8 9 |
# File 'lib/beowulf/type/serializer.rb', line 6 def initialize(key, value) @key = key @value = value end |