•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Ruby section within the Web Development category of DaniWeb, a massive community of 332,788 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,956 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Ruby advertiser: SELL YOUR PRODUCT TODAY !
This is a basic window coded in Ruby. To download Ruby go to www.ruby-lang.org and download the latest version. The latest version includes the FX toolkit that is needed to create this window.
require 'fox' include Fox theApp = FXApp.new theMainWindow = FXMainWindow.new(theApp, "Hello, World") theApp.create theMainWindow.show theApp.run
Comments (Newest First)
Dark_Omen | Posting Pro | Jan 23rd, 2005
vegaseat | Kickbutt Moderator | Jan 23rd, 2005
•
•
•
•
The samples I ran were console samples that came with Ruby. I was hoping the results would show up in the Output View of FreeRide. Looks like I have to put the directive #!/usr/bin/env ruby in at the start of code to get the console compiled properly (similar to Python). I will test your code after I installed FOX and FXRuby. Thanks...
Dark_Omen | Posting Pro | Jan 23rd, 2005
vegaseat | Kickbutt Moderator | Jan 23rd, 2005
•
•
•
•
Greetings Dark! I downloaded Ruby. The sample codes look a little like a mix of Python, Java and C. Got the FreeRide IDE going, cute, but nothing shows up in the output window after running the code. Is there a trick?
Dark_Omen | Posting Pro | Jan 22nd, 2005
Post Comment
•
•
•
•
DaniWeb Marketplace (Sponsored Links)