Sha256: f16a8bb2ee9f6faf804ba2aceb807b955b55dcd24d6b504c4efe22dea02fa452
Contents?: true
Size: 236 Bytes
Versions: 4
Compression:
Stored size: 236 Bytes
Contents
require 'yaml' class Hash def to_yaml(opts = {}) YAML::quick_emit(object_id, opts) do |out| out.map(taguri, to_yaml_style) do |map| sort.each do |k,v| map.add(k, v) end end end end end
Version data entries
4 entries across 4 versions & 3 rubygems
Version | Path |
---|---|
norbert-braid-0.5.1 | lib/core_ext.rb |
braid-0.6.2 | lib/core_ext.rb |
honkster-braid-0.6.2 | lib/core_ext.rb |
braid-0.6.1 | lib/core_ext.rb |