| Module | YamlExtension |
| In: |
lib/yaml_extension.rb
|
# File lib/yaml_extension.rb, line 48 def to_yaml ( opts={} ) if respond_to? :to_yaml_string YAML::quick_emit(object_id, opts) do |out| out.scalar(taguri, to_yaml_string, :plain) end else send(old_to_yaml, opts) end end