Ruby equivalent of encode_bitmaps.py

Is there a Ruby equivalent of Python’s encode_bitmaps.py? If you have
a Python encoded bitmap, how do you convert it for use with wxRuby?