lib/polyglot.rb in polyglot-0.3.4 vs lib/polyglot.rb in polyglot-0.3.5
- old
+ new
@@ -38,10 +38,10 @@
end
return nil
end
def self.load(*a, &b)
- file = a[0].to_str
+ file = a[0].to_s
return if @loaded[file] # Check for $: changes or file time changes and reload?
begin
source_file, loader = Polyglot.find(file, *a[1..-1], &b)
if (loader)
begin