摘要:        
http://stackoverflow.com/questions/998979/difference-between-and-in-rails/25617607#25617607 http://stackoverflow.com/questions/7996695/what-is-the-dif    阅读全文
        
            posted @ 2016-02-26 23:45
c3tc3tc3t
阅读(266)
评论(0)
推荐(0)
        
            
        
        
摘要:        
class Foo def initialize(&block) instance_eval(&block) if block_given? end end class Foo def initialize yield self if block_given? end end x = Foo.new    阅读全文
        
            posted @ 2016-02-26 20:41
c3tc3tc3t
阅读(305)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                 
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号