lib/poet/utils.js
function method (lambda) {
  return function () {
    return lambda.apply(null, [this].concat(Array.prototype.slice.call(arguments, 0)));
  };
}
function method (lambda) {
  return function () {
    return lambda.apply(null, [this].concat(Array.prototype.slice.call(arguments, 0)));
  };
}
function method ( lambda ) { return function ( ) { return lambda . apply ( null , [ this ] . concat ( Array . prototype . slice . call ( arguments , 0 ) ) ) ; } ; }
Takes `lambda` function and returns a method. When returned method is
invoked, it calls the wrapped `lambda` and passes `this` as a first argument
and given arguments as the rest.

@params {Function} lambda
@returns {Function}
Takes lambda function and returns a method . When returned method is invoked it calls the wrapped lambda and passes this as a first argument and given arguments as the rest .