lib/rbCFPropertyList.rb in CFPropertyList-2.2.4 vs lib/rbCFPropertyList.rb in CFPropertyList-2.2.5

- old
+ new

@@ -85,15 +85,12 @@ require dirname + '/rbCFTypes.rb' require dirname + '/rbBinaryCFPropertyList.rb' require 'iconv' unless "".respond_to?("encode") -begin - Enumerable::Enumerator.new([]) -rescue NameError => e - module Enumerable - class Enumerator - end +# ensure that the module and class exist +module Enumerable + class Enumerator end end begin require dirname + '/rbLibXMLParser.rb'