lib/remote_table/xls.rb in remote_table-2.1.0 vs lib/remote_table/xls.rb in remote_table-2.1.1
- old
+ new
@@ -3,9 +3,9 @@
module Xls
def self.extended(base)
base.extend ProcessedByRoo
end
def roo_class
- ::Excel
+ Roo.const_defined?(:Excel) ? Roo::Excel : ::Excel
end
end
end