BigBinary BlogWe craft blog posts about what we have learned so far and we have published 607 blog posts about Ruby on Rails, ReactJS, React Native, open source, engineering & design.

Rails 5 introduces Array Inquirer that wraps an array object and provides friendlier methods to check for the presence of elements that can be either a string or a symbol. pets = ActiveSupport::ArrayInquirer.new([:cat, :dog, 'rabbit']) > pets.cat? #=> true > pets.rabbit? #=> true > pets.elephant? #=> false Array Inquirer also has any? method to check for the presence of any of the passed arguments
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く