红宝石花招
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了红宝石花招相关的知识,希望对你有一定的参考价值。
Following a
print <<EOF The price is #{$Price}. EOF print <<"EOF"; # same as above The price is #{$Price}. EOF print <<`EOC` # execute commands echo hi there echo lo there EOC print <<"foo", <<"bar" # you can stack them I said foo. foo I said bar. bar myfunc(<<"THIS", 23, <<'THAT') Here's a line or two. THIS and here's another. THAT if need_define_foo eval <<-EOS # delimiters can be indented def foo print "foo " end EOS end
以上是关于红宝石花招的主要内容,如果未能解决你的问题,请参考以下文章
在中欧重压下,苹果将采用Type-C接口,不过贪婪的它玩了小花招