[#62904] [ruby-trunk - Feature #9894] [Open] [RFC] README.EXT: document rb_gc_register_mark_object — normalperson@...
Issue #9894 has been reported by Eric Wong.
3 messages
2014/06/02
[#63321] [ANN] ElixirConf 2014 - Don't Miss Jos辿 Valim and Dave Thomas — Jim Freeze <jimfreeze@...>
Just a few more weeks until ElixirConf 2014!
6 messages
2014/06/24
[#63391] Access Modifiers (Internal Interfaces) — Daniel da Silva Ferreira <danieldasilvaferreira@...>
Hi,
3 messages
2014/06/28
[ruby-core:63426] [ruby-trunk - Feature #8631] Add a new method to ERB to allow assigning the local variables from a hash
From:
naruse@...
Date:
2014-06-30 08:07:47 UTC
List:
ruby-core #63426
Issue #8631 has been updated by Yui NARUSE.
received, thanks!
----------------------------------------
Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
https://bugs.ruby-lang.org/issues/8631#change-47469
* Author: Rodrigo Rosenfeld Rosas
* Status: Assigned
* Priority: Low
* Assignee: Masatoshi Seki
* Category:
* Target version:
----------------------------------------
It would be interesting if ERB could allow a hash instead of a binding for processing the template.
We wouldn't have to do hacks like:
b = OpenStruct.new(hash).instance_eval{ binding }
---Files--------------------------------
feature-8631.pdf (27.7 KB)
--
https://bugs.ruby-lang.org/