Ruby implementation of iron