From: Eric Hodel Date: 2011-11-09T04:21:21+09:00 Subject: [ruby-core:40856] [ruby-trunk - Feature #5578] Embedded YAML for Ruby 2.0 Issue #5578 has been updated by Eric Hodel. =begin This is valid ruby code: x = --- a This is valid YAML: p YAML.load "---\na: -> { Time.now }" # => {"a"=>"-> { Time.now }"} You seem to be proposing a new thing which collides with valid Ruby code and valid YAML. How do you propose to solve these problems? Can you show a concrete specification? I think it will be easier to read and write YAML as a String where there is no ambiguity about the rules. =end ---------------------------------------- Feature #5578: Embedded YAML for Ruby 2.0 http://redmine.ruby-lang.org/issues/5578 Author: Thomas Sawyer Status: Open Priority: Normal Assignee: Category: Target version: 2.0.0 Way cool would be support for embedded YAML. data = --- a: 1 b: 2 c: 3 ... -- http://redmine.ruby-lang.org