Class: CoderDecorator::Coders::Identity
- Defined in:
- lib/coder_decorator/coders/identity.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from Coder
Instance Method Summary collapse
Methods inherited from Coder
Constructor Details
This class inherits a constructor from CoderDecorator::Coders::Coder
Instance Method Details
#decode(obj) ⇒ Object
11 12 13 |
# File 'lib/coder_decorator/coders/identity.rb', line 11 def decode(obj) coder.decode(obj) end |
#encode(obj) ⇒ Object
7 8 9 |
# File 'lib/coder_decorator/coders/identity.rb', line 7 def encode(obj) coder.encode(obj) end |