エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
method_missing magic - emulating Groovy's "it" in Ruby
2 Oct, 2006 Inspired variously by: Symbol#to_proc Nat Pryce's articles on Higher-Order Messaging ... 2 Oct, 2006 Inspired variously by: Symbol#to_proc Nat Pryce's articles on Higher-Order Messaging in Ruby Groovy's implied "it" closure-parameter I've cooked up a shortcut for generating simple blocks, meaning that rather than people.select { |x| x.name.length > 10 } I can write such things as: people.select(&its.name.length > 10) Disclaimer: I think this is more "cool hack" than useful tool; it's
2006/10/14 リンク