Method: FormCore::YAMLCoder#dump
- Defined in:
- lib/form_core/coders/yaml_coder.rb
#dump(obj) ⇒ Object
17 18 19 20 21 |
# File 'lib/form_core/coders/yaml_coder.rb', line 17 def dump(obj) return YAML.dump({}) unless obj YAML.dump obj.serializable_hash end |