22件ヒット
[1-22件を表示]
(0.093秒)
別のキーワード
ライブラリ
- ビルトイン (11)
-
rubygems
/ specification (11)
クラス
-
Gem
:: Specification (11) - String (11)
検索結果
-
Gem
:: Specification # email=(email) (18101.0) -
メールアドレスをセットします。
メールアドレスをセットします。
@param email メールアドレスを指定します。 -
String
# tr(pattern , replace) -> String (7.0) -
pattern 文字列に含まれる文字を検索し、 それを replace 文字列の対応する文字に置き換えます。
...'a-z') # => "foo"
# シーザー暗号の復号
p "ORYV".tr("A-Z", "D-ZA-C") # => "RUBY"
# 全角英数字といくつかの記号の半角化
email = "ruby−lang@example.com"
p email.tr("0-9a-zA-Z.@−", "0-9a-zA-Z.@-")
# => "ruby-lang@ex...