Hey guys,
I seem to have IronRuby name mangling in a rather inconsistent state.
I was under the impression it would automagically work, but it seems
it only changed the array #methods returns and not the actual methods
it responds to…
BWAPI::Bwapi.BWAPIClient.is_connected
(ir):1: undefined method `is_connected’ for BWAPI.Client:BWAPI::Client
(NoMethod
Error)BWAPI::Bwapi.BWAPIClient.isConnected
=> falseBWAPI::Bwapi.BWAPIClient.respond_to? :isConnected
=> trueBWAPI::Bwapi.BWAPIClient.respond_to? :is_connected
=> falseBWAPI::Bwapi.BWAPIClient.methods - Object.new.methods
=> [‘finalize’, ‘dispose’, ‘get_hash_code’, ‘equals’, ‘==’, ‘data=’,
‘data’, ‘is
_connected’, ‘connect’, ‘disconnect’, ‘update’, ‘swig_c_mem_own’,
‘swig_c_mem_ow
n=’]IRONRUBY_VERSION
=> “1.1.1.0”
So it does not respond to ‘is_connected’ but ‘is_connected’ is in the
methods array.
Anyone an idea what I could have missed?
Greetings
Tinco