build example.class from ruby

does this run though? not so far :(