From: "iwadon (Hiroyuki Iwatsuki)" Date: 2013-01-09T05:03:45+09:00 Subject: [ruby-core:51321] [ruby-trunk - Feature #7674] Document for using Struct.new with block Issue #7674 has been updated by iwadon (Hiroyuki Iwatsuki). File struct.c.diff added =begin Thank you for the comment! I understood. $ ruby -e "p Struct.new(:x){|c| p(c, self)}" # # # I updated the patch. =end ---------------------------------------- Feature #7674: Document for using Struct.new with block https://bugs.ruby-lang.org/issues/7674#change-35290 Author: iwadon (Hiroyuki Iwatsuki) Status: Open Priority: Normal Assignee: Category: Target version: I wrote the document for using Struct.new with block. -- http://bugs.ruby-lang.org/