Class: Moneta::Transforms::LZ4
- Inherits:
-
Moneta::Transform
- Object
- Moneta::Transform
- Moneta::Transforms::LZ4
- Defined in:
- lib/moneta/transforms/lz4.rb
Overview
Compresses strings using the lz4-ruby gem
Instance Method Summary collapse
-
#decode(value) ⇒ Object
Delegates to ::LZ4.
-
#encode(value) ⇒ Object
Delegates to ::LZ4.
Methods inherited from Moneta::Transform
#decodable?, delegate_to, #initialize, #method_missing, #respond_to_missing?
Constructor Details
This class inherits a constructor from Moneta::Transform
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Moneta::Transform
Instance Method Details
#decode(value) ⇒ Object
Delegates to ::LZ4
7 |
# File 'lib/moneta/transforms/lz4.rb', line 7 delegate_to ::LZ4, %i[compress uncompress] |
#encode(value) ⇒ Object
Delegates to ::LZ4
7 |
# File 'lib/moneta/transforms/lz4.rb', line 7 delegate_to ::LZ4, %i[compress uncompress] |