An entity-component system in Ruby