Class: BitcoinNode::Protocol::FieldStruct
- Inherits:
-
Struct
- Object
- Struct
- BitcoinNode::Protocol::FieldStruct
- Defined in:
- lib/bitcoin_node/protocol/fields.rb
Instance Method Summary collapse
- #to_s ⇒ Object (also: #inspect)
Instance Method Details
#to_s ⇒ Object Also known as: inspect
8 9 10 11 |
# File 'lib/bitcoin_node/protocol/fields.rb', line 8 def to_s type = self.class.name ? self.class.name.split('::').last : '' "#<struct #{type} #{values.join(', ')}>" end |