method
to_yaml
Ruby latest stable (v1_9_3_125)
-
0 notes -
Class: Hash
- 1_8_6_287 (0)
- 1_8_7_72 (0)
- 1_8_7_330 (0)
- 1_9_1_378 (0)
- 1_9_2_180
- 1_9_3_125
- What's this?
to_yaml( opts = {} )
public
Hide source
# File lib/yaml/rubytypes.rb, line 37 def to_yaml( opts = {} ) YAML::quick_emit( self, opts ) do |out| out.map( taguri, to_yaml_style ) do |map| each do |k, v| map.add( k, v ) end end end end


