originally published 10/16/2017 on the Hashrocket TIL blog
Binding class allows you to access classes, variables, and methods outside of your current scope.
Normally, if you made reference to
my_var outside of that method, you’d get an error.
Binding objects allow you to do this: