From: SASADA Koichi Date: 2013-08-09T23:34:21+09:00 Subject: [ruby-core:56495] Re: [CommonRuby - Feature #8643] Add Binding.from_hash (2013/08/09 22:10), rosenfeld (Rodrigo Rosenfeld Rosas) wrote: > > In other words, I want an easier way to convert a hash to a binding. I first thought about Hash#to_binding but it didn't feel right to me... Ok. Maybe I misunderstood your proposal. What is conversion from Hash to Binding? I think it is Binding has a local variables which specified pairs in Hash. hash = {a: 1, b: 2} b = Binding.to_hash(hash) eval("p [a, b]", b) #=> [1, 2] Could you explain what do you want? -- // SASADA Koichi at atdot dot net