您的当前位置:TAGS -> 示法
  • Ruby中的%表示法

    后端开发2025年07月06日

    %{String} 用于创建一个使用双引号括起来的字符串,这个表示法与%Q{String}完全一样 result = %{hello} puts "result is: #{result}, Type is:#{result.class}" #>>result is: hello, Type is:Strin...