lib/flyrb/equipper.rb in flyrb-1.0.0.b vs lib/flyrb/equipper.rb in flyrb-1.0.0.c
- old
+ new
@@ -13,10 +13,11 @@
end
module Equipper
GADGETS = Dir[File.join(File.dirname(__FILE__), '*.rb')].map{|file| File.basename(file)[0..-4]}.reject{|gadget| "equipper" == gadget }
DEFAULTS = %w{wirble
+ gist
hash_math
interactive_editor
irb_options
irb_verbosity_control}
@@ -61,13 +62,10 @@
puts "Failed to find gadget #{gadget}, ignoring"
end
end
end
- gadgets_to_equip.each{|gadget|
- puts "enabling #{gadget}"
- require "flyrb/#{gadget}"
- }
+ gadgets_to_equip.each{|gadget| require "flyrb/#{gadget}" }
@equipped ||= true
end
def equipped?
@equipped