I'm working on adding code to the OpenSSL extension of the standard
library and I need to understand the design for invoking and typing Ruby
code.  I read the 'Modifying the sources' github page and it mentions
using CallSiteStorage to call into Ruby code.

Specifically, the Cipher ruby class has a dependency on the Digest ruby
classes for the pkcs5_keyivgen method.  An optional parameter for this
method is an instance of the Ruby class Digest::Base.  How would the
type look, maybe Digest.Digest.Base digest/*optional*/? Or would it be
an object and I'd also need to pass in CallSiteStorage to call methods
on the object?

An example in the standard library of such behavior would be much
appreciated, thanks for any help.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to