Project

General

Profile

Actions

Feature #15451

closed

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

Added by shuujii (Shuji KOBAYASHI) about 6 years ago. Updated about 6 years ago.

Status:
Closed
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) about 6 years ago

  • Assignee set to marcandre (Marc-Andre Lafortune)

Updated by marcandre (Marc-Andre Lafortune) about 6 years ago

  • Status changed from Open to Closed

Good catch. Thanks!

Actions

Also available in: Atom PDF

Like0
Like0Like0