Commits

Michael Granger committed 88b3bd7

Remove unnecessary RubyGems guard from the examples filter

  • Participants
  • Parent commits ea53401

Comments (0)

Files changed (1)

File data/hoe-manualgen/lib/examples-filter.rb

 
 	### Defer loading of dependenies until the filter is loaded
 	def initialize( *args )
-		begin
-			require 'pathname'
-			require 'strscan'
-			require 'yaml'
-			require 'rcodetools/xmpfilter'
-			require 'digest/md5'
-			require 'tmpdir'
-			require 'erb'
-		rescue LoadError => err
-			unless Object.const_defined?( :Gem )
-				require 'rubygems'
-				retry
-			end
-
-			raise
-		end
+		require 'pathname'
+		require 'strscan'
+		require 'yaml'
+		require 'rcodetools/xmpfilter'
+		require 'digest/md5'
+		require 'tmpdir'
+		require 'erb'
 	end