src code

class method ActiveSupport.Function.bind

ActiveSupport.Function.bind(function,context[,argument]) → Function

Emulates Prototype's Function.prototype.bind including curry functionality.