Method: Pod::YAMLHelper.convert
- Defined in:
- lib/cocoapods-core/yaml_helper.rb
permalink .convert(value) ⇒ String
Returns the YAML representation of the given object. If the given object is a Hash, it accepts an optional hint for sorting the keys.
35 36 37 38 |
# File 'lib/cocoapods-core/yaml_helper.rb', line 35 def convert(value) result = process_according_to_class(value) result << "\n" end |