Issue #2080 has been updated by rogerdpack (Roger Pack).


Still looking forward to this feature request :)
----------------------------------------
Feature #2080: Proc#to_source, Method#to_source
https://bugs.ruby-lang.org/issues/2080#change-25643

Author: yugui (Yuki Sonoda)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 2.0.0


=begin
 [ruby-core:24673]??«è?????????????«ã??Proc#to_source???Method#to_source???????????¨ã??1.8???代ã??node.h?????©ç?¨ã????¦ã????¾ã?£ã?¦ã?????????????ªã?©ã?¤ã????©ã?ªã?®å????®å???????解決??§ã????¾ã??????????????node???iseq??«å????®ã?½ã?¼ã?¹ã?³ã?¼ã????????????????¦ã???????¦ã??å¿?è¦???«å????????iseq?????????å¾????????????¨ã?????æ¡??????¾ã?????
 
 ä¸???¬ç????«ã?¯ã?³ã?¼ã????¯å?¦ç???????¼ã?¿ã?«æ????¹ã?¦å???????«å?????????®ã?§ã????¡ã?¢ã?ªæ??è¦?????®å???????¯è¨±å®¹ç????²ã?§ã?¯ã?ªã????§ã??????????????
 
 ä¾?:
  proc = ->(x, y) {
    x + y
  }
  proc.to_source #=> "x + y"
=end



-- 
http://bugs.ruby-lang.org/