Tbpgr Blog

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

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

TbpgrUtils | 追加要件 EvalHelper#times_code を追加

概要 追加要件 EvalHelper#times_code を追加 詳細 追加要件 EvalHelper#times_codeを追加します 仕様 ・times_codeを利用したコードをを生成します。※より詳細についてはGitHubのREADMEおよびテストケース参照 GitHub https://github.com/tbpgr/tbpgr_utils…

ActiveSupport | multiple_of?

概要 multiple_of? 詳細 multiple_of? について multiple_of? 数値が引数の数値の倍数であるか判定する サンプル # encoding: utf-8 require 'active_support/core_ext/integer/multiple' require 'tbpgr_utils' bulk_puts_eval binding, <<-EOS 1.multiple_…