Tight-Binding code written in Ruby