Ruby Foo class