태그 : Proc 요약보기전체보기목록닫기
- play with Symbol#to_proc(0)2008.10.22
- Use Ruby Proc class for factory pattern(0)2008.09.07
1
- English Posting
- 2008/10/22 22:53
If you are reasonable rails developer, you are so familiar with " &:symbol ". Have you thought how it work?Start with '&' operator. If you pass something with '&' to method, ruby think t...
- English Posting
- 2008/09/07 00:50
I think Proc is good for factory pattern. Of course, if the concrete product needs subclassing or anything else that real class is needed, we have to code class for concrete product. However, if it ...
1



최근 덧글