Project

General

Profile

Feature #15451

OpenStruct#to_h でブロックを許容する

Added by shuujii (Shuji KOBAYASHI) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-dev:50725]

Description

Struct#to_h がブロックを受け付けるようになったので、OpenStruct#to_h
も同様にしてはどうでしょうか。

パッチを添付します。


Files

ostruct-to_h-with-block.patch (2.76 KB) ostruct-to_h-with-block.patch shuujii (Shuji KOBAYASHI), 12/22/2018 01:14 PM

Updated by marcandre (Marc-Andre Lafortune) over 1 year ago

  • Assignee set to marcandre (Marc-Andre Lafortune)

Updated by marcandre (Marc-Andre Lafortune) over 1 year ago

  • Status changed from Open to Closed

Good catch. Thanks!

Also available in: Atom PDF