code: function _scrape($) {
      var methods = ['scrape', 'scrapeOne', 'scrapeTable'];
  
      methods.forEach(function(method) {
  
        $.fn[method] = function() {
          return artoo[method].apply(
            artoo, [$(this)].concat(Array.prototype.slice.call(arguments)));
        };
      });
    }
docs: jQuery plugin