From: Ammar Ali Date: 2010-11-11T07:27:24+09:00 Subject: Re: Does Ruby have an equivalent to Python's ctypes? No. But, if you really need it, you can roll your own using regular expressions or constants. The following gists show my take of each: https://gist.github.com/650968 https://gist.github.com/671652 HTH, Ammar