Page 1 of 1
Learning with Ruby Portable
Posted: Mon Dec 03, 2012 6:25 pm
by jjs
This is a handy tool you can take with you everywhere you go and have some time to learn Ruby.
The latest Ruby version but then portable, seems like it was not easy to make it portable but they succeed.
take a look here:
http://www.yellosoft.us/portable-rubyalso easy if you have brake at work but you are not allowed to install anything on your work-computer.
Works on Windows and Linux so everyone can use it, Apple osx 10.4 has Ruby built in.
Re: Learning with Ruby Portable
Posted: Mon Dec 03, 2012 10:46 pm
by trogluddite
What a neat idea!
It will need a little care when learning from it though - it says that it is a compiled version of Ruby 1.8.6 - FS uses the latest 1.9.3 version, and there are a few differences that you have to watch out for. Nothing really major if you want to learn the basic syntax and "principles" of Ruby, but don't rely 100% on it for learning individual methods and classes, as it may catch you out when you come to use stuff in FS and it doesn't quite work the same.
The Sketchup 3D software I use is getting ready to upgrade from 1.8.6->1.9.3, and one of the guys there made this
cool comparison chart. - might be useful if you run into any "translation" problems.
You can web search for "Ruby API docs
<version number>" and get complete descriptions of all the methods and classes for every old (and new) version of Ruby.
Re: Learning with Ruby Portable
Posted: Tue Dec 04, 2012 3:58 pm
by pfv
Is there a reference somewhere for all the graphics methods Flowstone accepts , ex. "drawRoundRect"?
Thanks in advance.
EDIT: Sorry, solved with RTFM.
Re: Learning with Ruby Portable
Posted: Tue Dec 04, 2012 6:06 pm
by jbonnell4394
Hi, What is RTFM.. I'm in need of this Reference as well.. I'm a begginer with Ruby.
Thanks.
-J
Re: Learning with Ruby Portable
Posted: Tue Dec 04, 2012 6:15 pm
by jjs
jbonnell4394 wrote:Hi, What is RTFM.. I'm in need of this Reference as well.. I'm a begginer with Ruby.
Thanks.
-J
that is not Ruby, allthough you could make RTFM an object.....
it means: Read The F*cking Manual
but hen again i'm also an absolut beginner with Ruby
Re: Learning with Ruby Portable
Posted: Tue Dec 04, 2012 6:19 pm
by pfv
It's in the manual, chapter 8 "Ruby Component", starting at page 122.
Re: Learning with Ruby Portable
Posted: Wed Dec 05, 2012 4:38 am
by jbonnell4394
Duh!!!! Should have known that... been flipping thru that manual for a few days now and just didn't come across that
thanks a million guys... I'll load it up right now and check it out...

*Edit* I'm never going to get any sleep!
Re: Learning with Ruby Portable
Posted: Tue Feb 26, 2013 9:29 am
by infuzion
Perhaps better if you don't want to mess with any installs & have internet connection:
http://www.codecademy.com/tracks/ruby
Re: Learning with Ruby Portable
Posted: Tue Feb 26, 2013 12:45 pm
by jjs
Great one ! Infuzion.
Re: Learning with Ruby Portable
Posted: Thu Feb 28, 2013 4:19 am
by tor
it is mentioned in the forum before. but i mention it again:
http://rubymonk.com very good site.
my biggest obstacle when it comes to learn ruby is actually spending time with it and the tutorial above.
i am at the third attempt to finnish it now
http://www.codecademy.com/tracks/ruby seems like a equally good resource

btw: a hot tip is that you can use a method called '.method' on any object in ruby and it works fine in the FS ruby component aswell. So if you have an array called ie 'forummembers' and wonder what methods available to this array then write at the bottom of your code:
it will output a list of all methods available in the bottom panel of the ruby component.