From: Joel Pearson Date: 2013-05-17T17:21:01+09:00 Subject: Re: RubyExcel version 0.1.5 Just had a thought about this... is it possible to trap calls to the methods which use win32ole via method_missing and then require the relevant code from there? My reasoning is that by removing default Excel support in order for the data structure to be available on non-win32ole systems (it can still output TSV, HTML & Arrays), everyone who uses it will have to put in explicit require statements, thus breaking existing code. If I were able to hold back requiring the extra file until a relevant method was called, perhaps that would both allow non-win32ole compatibility (just don't use the Excel methods) and still work in backward compatibility. However, I'm not sure whether it'll work, or whether it'd be good practice even if it does work. Does anyone have any hints on how to around this kind of issue? -- Posted via http://www.ruby-forum.com/.