Class: DataMaps::Converter::String
- Inherits:
-
Base
- Object
- Executable
- Base
- DataMaps::Converter::String
- Defined in:
- lib/data_maps/converter/string.rb
Overview
Converts numeric values
Instance Attribute Summary
Attributes inherited from Executable
Instance Method Summary collapse
-
#execute(data) ⇒ Object
The execute method to convert the given data into string.
Methods inherited from Executable
#initialize, valid_collection?
Constructor Details
This class inherits a constructor from DataMaps::Executable
Instance Method Details
#execute(data) ⇒ Object
The execute method to convert the given data into string
10 11 12 |
# File 'lib/data_maps/converter/string.rb', line 10 def execute(data) data.to_s end |