From: sawadatsuyoshi@... Date: 2014-08-14T00:10:32+00:00 Subject: [ruby-core:64349] [ruby-trunk - Feature #10130] [Open] String format with nested hash Issue #10130 has been reported by Tsuyoshi Sawada. ---------------------------------------- Feature #10130: String format with nested hash https://bugs.ruby-lang.org/issues/10130 * Author: Tsuyoshi Sawada * Status: Open * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- When we do string format with hashes, we have the restriction that the hash cannot be a nested one. When we want to handle more complicated string formats, for example in templates, it is more convenient if we can use a nested hash. "Author: %{author.name} (%{author.affiliation}), %{date}" % {author: {name: "Ruby Taro", affiliation: "Ruby co."}, date: "2014, 8, 14"} #=> "Author: Ruby Taro (Ruby co.), 2014, 8, 14" -- https://bugs.ruby-lang.org/