Shoes.app :title => "Shoes RI Thingie" do
  stack do
    para "Enter the name of a Ruby class or method"
    edit_line {|x| @query = x.text}
    button "search" do    
      system "ri -T #{@query} > ri_output.txt" 
      @answer.replace IO.read 'ri_output.txt'
    end
    @answer = para "The answer you seek is ...."  
  end
end

