Class: Mutant::Transform::Hash::Symbolize Private
- Inherits:
-
Mutant::Transform
- Object
- Mutant::Transform
- Mutant::Transform::Hash::Symbolize
- Defined in:
- lib/mutant/transform.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Transform to symbolize array keys
Instance Method Summary collapse
-
#call(input) ⇒ Hash{Symbol => Object}
private
Apply transformation to input.
Methods inherited from Mutant::Transform
Instance Method Details
#call(input) ⇒ Hash{Symbol => Object}
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Apply transformation to input
289 290 291 |
# File 'lib/mutant/transform.rb', line 289 def call(input) success(input.transform_keys(&:to_sym)) end |