From 39a23ea12bc1380a24ea9f3f3b80576edc4c60cc Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Sun, 2 Nov 2014 19:27:40 -0500 Subject: [PATCH] Debugging message for needs shows caller --- lib/squib/input_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/squib/input_helpers.rb b/lib/squib/input_helpers.rb index 50dda4e..1fa7aca 100644 --- a/lib/squib/input_helpers.rb +++ b/lib/squib/input_helpers.rb @@ -8,7 +8,7 @@ module Squib # :nodoc: # @api private def needs(opts, params) - Squib.logger.debug {"Given opts: #{opts}"} + Squib.logger.debug {"Method #{caller(1,1)} was given the following opts: #{opts}"} opts = layoutify(opts) if params.include? :layout opts = Squib::SYSTEM_DEFAULTS.merge(opts) opts = expand_singletons(opts, params)