Tbpgr Blog

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

2014-03-22から1日間の記事一覧

TbpgrUtils | 追加要件 Hash#table 追加

概要 追加要件 Hash#table 追加 詳細 追加要件 Hash#tableを追加する 仕様 ・Hashのkey,valueをパイプ区切りのテーブル形式文字列に変換する ※より詳細についてはGitHubのREADMEおよびテストケース参照 GitHub https://github.com/tbpgr/tbpgr_utils Rubygem…

ActiveSupport | Array#split

概要 Array#split 詳細 Array#split について Array#split 文字列のsplitの配列版 サンプル # encoding: utf-8 require 'active_support/core_ext/array/grouping' require 'tbpgr_utils' I18n.enforce_available_locales = true ary = [2, 1, 3, 1, 4] bulk…