31件ヒット
[1-31件を表示]
(0.067秒)
検索結果
-
Net
:: IMAP :: BodyTypeText # lines -> Integer (21201.0) -
ボディの行数を返します。
ボディの行数を返します。 -
RDoc
:: Text # strip _ newlines(text) -> String (9307.0) -
引数から先頭と末尾の改行を削除します。
...引数から先頭と末尾の改行を削除します。
@param text 文字列を指定します。... -
リテラル (174.0)
-
リテラル * num * string * backslash * exp * char * command * here * regexp * array * hash * range * symbol * percent
...a:num] 数値リテラル
: 123
: 0d123
整数
: -123
符号つき整数
: 123.45
浮動小数点数。
.1 など "." で始まる浮動小数点数は許されなくなりました。0.1 と書く必
要があります。
: 1.2e-3
浮動小数点数
: 0xffff
16進整数
: 0b1......\n"
'this is a string expression\n'
%q!I said, "You said, 'She said it.'"!
%!I said, "You said, 'She said it.'"!
%Q('This is it.'\n)
"this is multi line
string"
//}
文字列はダブルクォートまたはシングルクォートで囲まれています。
ダブルクォートで囲まれた文......expected_result = <<~SQUIGGLY_HEREDOC
This would contain specially formatted text.
That might span many lines
SQUIGGLY_HEREDOC
# => "This would contain specially formatted text.\n" + "\n" + "That might span many lines\n"
//}
最もインデントが少ない行を基準にして、全ての行...