Class: Beowulf::Type::Future
- Inherits:
-
Serializer
- Object
- Serializer
- Beowulf::Type::Future
- Defined in:
- lib/beowulf/type/future.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Future
constructor
A new instance of Future.
- #to_bytes ⇒ Object
- #to_s ⇒ Object
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(value) ⇒ Future
Returns a new instance of Future.
4 5 6 |
# File 'lib/beowulf/type/future.rb', line 4 def initialize(value) super(:future, true) end |
Instance Method Details
#to_bytes ⇒ Object
8 9 10 |
# File 'lib/beowulf/type/future.rb', line 8 def to_bytes [1].pack('U') end |
#to_s ⇒ Object
12 13 |
# File 'lib/beowulf/type/future.rb', line 12 def to_s end |