[ruby-cvs:73012] nobu:r65912 (trunk): proc.c: Implement Method#* for Method composition

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Nov 22 14:51:41 JST 2018


nobu	2018-11-22 14:51:41 +0900 (Thu, 22 Nov 2018)

  New Revision: 65912

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65912

  Log:
    proc.c: Implement Method#* for Method composition
    
    * proc.c (rb_method_compose): Implement Method#* for Method composition,
      which delegates to Proc#*.
    
    * test/ruby/test_method.rb: Add test cases for Method composition.
    
    From: Paul Mucur <mudge at mudge.name>

  Modified files:
    trunk/proc.c
    trunk/test/ruby/test_method.rb


More information about the ruby-cvs mailing list