ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
From: ruby-core@marc-andre•ca
To: ruby-dev@ruby-lang.org
Subject: [ruby-dev:50726] [Ruby trunk Feature#15451] OpenStruct#to_h でブロックを許容する
Date: Sat, 22 Dec 2018 16:44:06 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-75844.20181222164404.786bd37ccf5eda41@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15451.20181222131839@ruby-lang.org

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/

  parent reply	other threads:[~2018-12-22 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2018-12-23  3:44 ` [ruby-dev:50727] [Ruby trunk Feature#15451][Closed] " ruby-core

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-75844.20181222164404.786bd37ccf5eda41@ruby-lang.org \
    --to=ruby-dev@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).