trivial RubyMotion project for comparison with implementation in objective-c