# Getting and Passing Bindings

**URL:** <https://www.ruby-forum.com/t/getting-and-passing-bindings/128659>\
**Category:** Ruby\
**Created:** [February 10, 2008, 12:04am UTC](https://www.ruby-forum.com/t/getting-and-passing-bindings/128659 "2008-02-10T00:04:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b19c9b/32.png) [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Post date:** [February 10, 2008, 12:04am UTC](https://www.ruby-forum.com/t/getting-and-passing-bindings/128659/1 "2008-02-10T00:04:00Z")

</div>

Hello, I’m having quite the annoying problem with bindings. You can see  
the code, expected output, and actual output at  
[Parked at Loopia](http://pastie.caboo.se/149817).

Basically, what I can decude from the code’s results is that the binding  
from One::Two.get\_binding\_for is being returned, but not the binding  
from the method. I’ve been hacking at this all day for a solution, so to  
anyone who can figure out what’s happening I’d be very grateful. Also,  
no suggestion is dumb, so please, any ideas you have at all, post them!

Thanks,  
Michael B.
