Tbpgr Blog

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

2014-04-07から1日間の記事一覧

Ruby | Hash | sort_by

概要 Hash#sort_by 詳細 Hashの内容をブロックの内容でソートする サンプルコード # encoding: utf-8 require 'tbpgr_utils' require 'attributes_initializable' h = { hoge_key1: '1', hoge_key2: '2', hige_key: '3', hage_key: '4', } class Hoge includ…

CodeIQ | 『マインドマップ使ってますか?』問題 @tbpgr #CodeIQ

概要 『マインドマップ使ってますか?』問題 詳細 『マインドマップ使ってますか?』問題 の出題を開始しました。 https://codeiq.jp/ace/tbpgr/q827 どんな問題? 思考・発想法ツール マインドマップに関する問題です。 システム開発専用のツールではないの…

CodeIQ | 『他人のサイトにモンキーパッチ』問題 @tbpgr #CodeIQ

概要 『他人のサイトにモンキーパッチ』問題 詳細 『他人のサイトにモンキーパッチ』問題 の出題を開始しました。 https://codeiq.jp/ace/tbpgr/q826 どんな問題? FireFox, GoogleChromeの拡張機能として提供されているGreasemonkeyに関する問題です。 Grea…

TbpgrUtils | 追加要件 Kernel#hash_to_attributes 追加

概要 追加要件 Kernel#hash_to_attributes 追加 詳細 追加要件 Kernel#hash_to_attributesを追加する 仕様 ・hashの内容をattributesに設定する ※より詳細についてはGitHubのREADMEおよびテストケース参照 GitHub https://github.com/tbpgr/tbpgr_utils Ruby…