Module: CryptBufferConcern::Comparable
- Included in:
- CryptBuffer
- Defined in:
- lib/crypto-toolbox/crypt_buffer/concerns/comparable.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
3 4 5 |
# File 'lib/crypto-toolbox/crypt_buffer/concerns/comparable.rb', line 3 def ==(other) bytes == CryptBuffer(other).bytes end |