member?(val) -> bool[permalink][rdoc][edit] include?(val) -> bool val と == の関係にある要素を含むとき真を返します。 [PARAM] val: 任意のオブジェクト 例 [2, 4, 6].include? 2 #=> true [2, 4, 6].include? 1 #=> false [2, 4, 6].member? 2 #=> true [2, 4, 6].member? 1 #=> false
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く