SapphireSteel Forum
Welcome, Guest. Please login or register.
June 19, 2013, 09:49:53 AM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Sapphire and Amethyst IDEs
3893 Posts in 803 Topics by 672 Members
Latest Member: davib
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Ruby Programming
| | |-+  USING MODULE/CLASSES IN RUBY
« previous next »
Pages: [1] Print
Author Topic: USING MODULE/CLASSES IN RUBY  (Read 5277 times)
taskeensamdani
Newbie
*
Posts: 4


« on: November 24, 2007, 10:12:18 AM »

Hi everyone

I am new here. Wel i am student at university, studying agile software development as one of my modules for this year. At the moment we are looking at modules and classes. The only thing is that i do not understand how to use modules and classes using irb n ruby. I have looked at resources provided by my teachers but i thought it was not useful.

Can anyone please make me understand how to use modules and classes. Also a brief about control flow.

thank you

appreciate ur help

taskeen 
Logged
Huw Collingbourne
Administrator
Hero Member
*****
Posts: 937



« Reply #1 on: November 25, 2007, 09:04:14 AM »

Hi Taskeen

There is a basic introduction to classes, modules and 'mixins' *i.e. modules included in classes) in my free eBook, The Little Book Of Ruby: http://www.sapphiresteel.com/The-Little-Book-Of-Ruby

If you try out the examples there, please let me know if there are any things that are not fully explained or need clarification.

best wishes
Huw
Logged
taskeensamdani
Newbie
*
Posts: 4


« Reply #2 on: November 25, 2007, 05:37:21 PM »

first of all thnx 4 replyin,
I have tried the online book which u have suggested, but i have found it a bit less informative. I would apprciate if you can suggest other resources which is basic  so i can understand the modules and classes better.

thankyou
taskeen
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!