From c30841c0fe0febcfa45970f1e63586a4edc2bc18 Mon Sep 17 00:00:00 2001 From: Jack Dempsey Date: Fri, 10 Sep 2010 17:46:50 -0400 Subject: [PATCH] accept an arg we toss so it works in 1.9.2 --- lib/utility_belt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utility_belt.rb b/lib/utility_belt.rb index 06a9056..ef3c7c9 100644 --- a/lib/utility_belt.rb +++ b/lib/utility_belt.rb @@ -12,7 +12,7 @@ # Called when the irb session is ready, after any external libraries have been loaded. This # allows the user to specify which gadgets in the utility belt to equip. (Kind of pushing the # metaphor, but hey, what the hell.) - IRB.conf[:IRB_RC] = lambda do + IRB.conf[:IRB_RC] = lambda do |throw_away_context| UtilityBelt.equip(:defaults) unless UtilityBelt.equipped? UTILITY_BELT_IRB_STARTUP_PROCS.each {|symbol, proc| proc.call} end