#1069 support ruby heredocs
This commit is contained in:
parent
4cdc48cf63
commit
d2d42499ca
4 changed files with 104 additions and 40 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue