* [ruby-dev:50725] [Ruby trunk Feature#15451] OpenStruct#to_h でブロックを許容する [not found] <redmine.issue-15451.20181222131839@ruby-lang.org> @ 2018-12-22 13:18 ` shuujii 2018-12-22 16:44 ` [ruby-dev:50726] " ruby-core 2018-12-23 3:44 ` [ruby-dev:50727] [Ruby trunk Feature#15451][Closed] " ruby-core 2 siblings, 0 replies; 3+ messages in thread From: shuujii @ 2018-12-22 13:18 UTC (permalink / raw) To: ruby-dev Issue #15451 has been reported by shuujii (Shuji KOBAYASHI). ---------------------------------------- Feature #15451: OpenStruct#to_h でブロックを許容する https://bugs.ruby-lang.org/issues/15451 * Author: shuujii (Shuji KOBAYASHI) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- `Struct#to_h` がブロックを受け付けるようになったので、`OpenStruct#to_h` も同様にしてはどうでしょうか。 パッチを添付します。 ---Files-------------------------------- ostruct-to_h-with-block.patch (2.76 KB) -- https://bugs.ruby-lang.org/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-dev:50726] [Ruby trunk Feature#15451] OpenStruct#to_h でブロックを許容する [not found] <redmine.issue-15451.20181222131839@ruby-lang.org> 2018-12-22 13:18 ` [ruby-dev:50725] [Ruby trunk Feature#15451] OpenStruct#to_h でブロックを許容する shuujii @ 2018-12-22 16:44 ` ruby-core 2018-12-23 3:44 ` [ruby-dev:50727] [Ruby trunk Feature#15451][Closed] " ruby-core 2 siblings, 0 replies; 3+ messages in thread From: ruby-core @ 2018-12-22 16:44 UTC (permalink / raw) To: ruby-dev Issue #15451 has been updated by marcandre (Marc-Andre Lafortune). Assignee set to marcandre (Marc-Andre Lafortune) ---------------------------------------- Feature #15451: OpenStruct#to_h でブロックを許容する https://bugs.ruby-lang.org/issues/15451#change-75844 * Author: shuujii (Shuji KOBAYASHI) * Status: Open * Priority: Normal * Assignee: marcandre (Marc-Andre Lafortune) * Target version: ---------------------------------------- `Struct#to_h` がブロックを受け付けるようになったので、`OpenStruct#to_h` も同様にしてはどうでしょうか。 パッチを添付します。 ---Files-------------------------------- ostruct-to_h-with-block.patch (2.76 KB) -- https://bugs.ruby-lang.org/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-dev:50727] [Ruby trunk Feature#15451][Closed] OpenStruct#to_h でブロックを許容する [not found] <redmine.issue-15451.20181222131839@ruby-lang.org> 2018-12-22 13:18 ` [ruby-dev:50725] [Ruby trunk Feature#15451] OpenStruct#to_h でブロックを許容する shuujii 2018-12-22 16:44 ` [ruby-dev:50726] " ruby-core @ 2018-12-23 3:44 ` ruby-core 2 siblings, 0 replies; 3+ messages in thread From: ruby-core @ 2018-12-23 3:44 UTC (permalink / raw) To: ruby-dev Issue #15451 has been updated by marcandre (Marc-Andre Lafortune). Status changed from Open to Closed Good catch. Thanks! ---------------------------------------- Feature #15451: OpenStruct#to_h でブロックを許容する https://bugs.ruby-lang.org/issues/15451#change-75849 * Author: shuujii (Shuji KOBAYASHI) * Status: Closed * Priority: Normal * Assignee: marcandre (Marc-Andre Lafortune) * Target version: ---------------------------------------- `Struct#to_h` がブロックを受け付けるようになったので、`OpenStruct#to_h` も同様にしてはどうでしょうか。 パッチを添付します。 ---Files-------------------------------- ostruct-to_h-with-block.patch (2.76 KB) -- https://bugs.ruby-lang.org/ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-23 3:44 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <redmine.issue-15451.20181222131839@ruby-lang.org> 2018-12-22 13:18 ` [ruby-dev:50725] [Ruby trunk Feature#15451] OpenStruct#to_h でブロックを許容する shuujii 2018-12-22 16:44 ` [ruby-dev:50726] " ruby-core 2018-12-23 3:44 ` [ruby-dev:50727] [Ruby trunk Feature#15451][Closed] " ruby-core
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).