From: Richard Fairbanks Date: 2010-04-05T17:37:12+09:00 Subject: When {integer:0} <> 0 ??? Greetings, folks! This one will be so obvious to you all, but it has had me baffled for hours. (Script appended below.) Please enlighten me! Thank you! Richard Fairbanks ---- # the following is called with: # do shell script "arch -i386 ruby '/Users/me/Desktop/Tests.rb'" # Thank you, has!! require "appscript"; include Appscript require 'osax'; include OSAX module Y; def self.z; 0; end; end osax.say(Y.z) #=> "zero" if p(Y.z): 0 # I assume this is the culprit! osax.say(Y.z) #=> silence end osax.set_the_clipboard_to(Y.z) #=> {integer:0} -- Posted via http://www.ruby-forum.com/.