lib/tool.js
function ready(fn, filter) {
						var tasty = this;
						tasty.hooks.set(
							filter,
							function(result) {
								return tasty.utils.thenable(
									fn.call(tasty)
								).then(function() {
									return result;
								});
							},
							'ready:exec'
						);
					}
function ready(fn, filter) {
						var tasty = this;
						tasty.hooks.set(
							filter,
							function(result) {
								return tasty.utils.thenable(
									fn.call(tasty)
								).then(function() {
									return result;
								});
							},
							'ready:exec'
						);
					}
istanbul ignore next