Ruby on Rails Thursday, April 25, 2013

No, there is no "ruby generate" or "ruby new" commands that would generate a skeleton program. Ruby itself is just like any other compiled on the fly interpreted programming language. You can simply write code in a text file and execute it via the ruby interpreter. Rails on the otherhand is a collection of Ruby scripts arranged in such a way that the default conventions somewhat require it to be organized in such a way to keep it as simple as possible. A suggestion when creating ruby programs it is convenient to keep it modular, ie. do not have everything in one .rb file. sort things out it makes life so much easier if you ever need to make changes remove or implement new capabilities to your program.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/IH9pBjOtNboJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment