Issue #5578 has been updated by George Koehler.


=begin
Current Ruby can do

 require 'yaml'
 
 data = YAML.load <<EOF
   a: 1
   b: 2
   c: 3
 EOF
 
 p data

Suppose that Ruby adds embedded YAML, and I change my program to

 data = ---
   a: 1
   b: 2
   c: 3
 
 p data

Where does YAML end? Is "p data" part of YAML, and not Ruby code? Is it decided by indentation?

=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