Class: Dragonfly::Encoder
- Inherits:
-
FunctionManager
- Object
- FunctionManager
- Dragonfly::Encoder
- Defined in:
- lib/dragonfly/encoder.rb
Instance Attribute Summary
Attributes inherited from FunctionManager
Attributes included from Loggable
Instance Method Summary (collapse)
Methods inherited from FunctionManager
#call_last, #get_registered, #initialize, #inspect, #register
Methods included from Configurable
Methods included from Loggable
Constructor Details
This class inherits a constructor from Dragonfly::FunctionManager
Instance Method Details
- (Object) add(name = :encode, callable_obj = nil, &block)
4 5 6 |
# File 'lib/dragonfly/encoder.rb', line 4 def add(name=:encode, callable_obj=nil, &block) super(name, callable_obj, &block) end |
- (Object) encode(temp_object, *args)
8 9 10 |
# File 'lib/dragonfly/encoder.rb', line 8 def encode(temp_object, *args) call_last(:encode, temp_object, *args) end |