#1069 support ruby heredocs

This commit is contained in:
nightwing 2012-12-28 15:35:19 +04:00
commit d2d42499ca
4 changed files with 104 additions and 40 deletions

View file

@ -20,4 +20,16 @@ class Range
end
end
{:id => 34, :sdfasdfasdf => "asdasdads"}
{:id => 34, :key => "value"}
herDocs = [<<'FOO', <<BAR, <<-BAZ, <<-`EXEC`] #comment
FOO #{literal}
FOO
BAR #{fact(10)}
BAR
BAZ indented
BAZ
echo hi
EXEC
puts herDocs