Refactored ruby_ffi_test.rb to use the builtin flash function