Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

2014-02-19から1日間の記事一覧

TbpgrUtils | 追加要件 Array#together_sliceを追加

概要 追加要件 Array#together_sliceを追加 詳細 追加要件 Array#together_sliceを追加します 仕様 ・Enumerable#sliceのtogether版。 ・以下のaliasを持つ tslice※より詳細についてはGitHubのREADMEおよびテストケース参照 GitHub https://github.com/tbpgr…

ActiveSupport | String#camelize

概要 String#camelize 詳細 String#camelize について String#camelize 文字列をキャメルケースにした結果を受け取る 引数に「:lower」を与えると、最初の文字が小文字になる サンプル # encoding: utf-8 require 'active_support/core_ext/string/inflectio…