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.
181 182 183 |
# File 'lib/bitcoin/script.rb', line 181 def bitcoin_pushdata @bitcoin_pushdata end |
#bitcoin_pushdata_length ⇒ Object
Returns the value of attribute bitcoin_pushdata_length.
182 183 184 |
# File 'lib/bitcoin/script.rb', line 182 def bitcoin_pushdata_length @bitcoin_pushdata_length end |
Instance Method Details
#blob ⇒ Object
517 |
# File 'lib/bitcoin/storage/storage.rb', line 517 def blob; to_sequel_blob; end |