Subject:
Re: [ruby-ffi] Re: unable to find method?
From:
Jon
Date:
12/21/09 9:02 AM
To:
ruby-ffi@googlegroups.com

> > Yes, but doing things inside a module and calling from it.
> >
> > It works.
> >
> > What you did is extend Object with FFI::Library, dunno how that is going to end.
> 
> Thanks that does work.
> Is there a reason why Object should not be extensible, or is this a
> bug?
> -r

Curious, are you running into a hard requirement to extend Object in what you're doing?

While it's similar to Sinatra's top-level DSL support, what use case(s) do you see for this style in FFI?

Jon