Class: String
- Inherits:
-
Object
- Object
- String
- Includes:
- Bitcoin::BinaryExtensions
- Defined in:
- lib/bitcoin/storage/storage.rb,
lib/bitcoin.rb,
lib/bitcoin/script.rb
Overview
TODO: someday sequel will support #blob directly and #to_sequel_blob will be gone
Instance Attribute Summary collapse
-
#bitcoin_pushdata ⇒ Object
Returns the value of attribute bitcoin_pushdata.
-
#bitcoin_pushdata_length ⇒ Object
Returns the value of attribute bitcoin_pushdata_length.
Instance Method Summary collapse
Methods included from Bitcoin::BinaryExtensions
#htb, #htb_reverse, #hth, #reverse_hth
Instance Attribute Details
#bitcoin_pushdata ⇒ Object
Returns the value of attribute bitcoin_pushdata.
148 149 150 |
# File 'lib/bitcoin/script.rb', line 148 def bitcoin_pushdata @bitcoin_pushdata end |
#bitcoin_pushdata_length ⇒ Object
Returns the value of attribute bitcoin_pushdata_length.
149 150 151 |
# File 'lib/bitcoin/script.rb', line 149 def bitcoin_pushdata_length @bitcoin_pushdata_length end |
Instance Method Details
#blob ⇒ Object
453 |
# File 'lib/bitcoin/storage/storage.rb', line 453 def blob; to_sequel_blob; end |