rubytips.org
Installing Ruby on Windows 7 – Ruby 1.9.x Guide
http://www.rubytips.org/2011/12/20/installing-ruby-on-windows-7-ruby-1-9-x-guide
My Take on Ruby and Ruby on Rails. Installing Ruby on Windows 7 – Ruby 1.9.x Guide. This is a step by step guide on installing and using Ruby language on Windows 7 machines. A lot of applications now use the 1.8.x branch of Ruby. However it is being deprecated. And if you are starting Ruby programming, you should start with the 1.9.x branch. This tutorial covers Ruby 1.9.3, the latest production release available as of writing this post. Installing Ruby on Windows 7. Exploring Windows Ruby Installation.
rubytips.org
Ruby Talk
http://www.rubytips.org/category/ruby-talk
My Take on Ruby and Ruby on Rails. Archive for the 'Ruby Talk' Category. Ruby-Talk – rb str new2 cleanup, ruby GUI libraries and Ruby vs Python. May 11th, 2008 Posted in Ruby Talk. Using Notepad for Writing Ruby Programs in Windows. Installing Ruby on Windows 7 – Ruby 1.9.x Guide. Distributing your Ruby program as a standalone executable (exe). Accessing Windows API from Ruby – Using Win32API library. Ruby-Talk – rb str new2 cleanup, ruby GUI libraries and Ruby vs Python.
rubytips.org
Using Notepad++ for Writing Ruby Programs in Windows
http://www.rubytips.org/2011/12/22/using-notepad-for-writing-ruby-programs-in-windows
My Take on Ruby and Ruby on Rails. Using Notepad for Writing Ruby Programs in Windows. If you are writing small Ruby programs and you don’t need facilities such as debugging available in a full fledged IDE, I recommend using Notepad editor. Notepad has built in syntax highlighting for Ruby and is a light weight and fully featured code editor. Download the latest version of Notepad from here. Choose the folder where you want Notepad to be installed and click on Next. From the Notepad menu, click on Settin...
rubytips.org
Really compact Ruby quick reference guide
http://www.rubytips.org/2007/09/11/really-compact-ruby-quick-reference-guide
My Take on Ruby and Ruby on Rails. Really compact Ruby quick reference guide. Hello World in Ruby. Puts Hello, world! Comments start with # and ends with newline. Newlines or semicolon can be used separate expressions. Everything in Ruby is an object. This includes constants such as 5. Since even operators are methods, they can be overridden. Elegant code can be written using blocks feature. Basic types are numbers, strings, ranges, regexen, symbols, arrays, and hashes. Var = Array.new. Var = [10,20].
rubytips.org
Code Snippets
http://www.rubytips.org/category/code-snippets
My Take on Ruby and Ruby on Rails. Archive for the 'Code Snippets' Category. Using temporary files in Ruby – Tempfile.new. For certain programming solutions, you might need a temporary file. Different operating systems store temporary files in different locations. Also you don’t want to explicitly name the file since that is irrelevant in the program. How do you ensure that there are no filename conflicts? The solution for all these is to use library for […]. January 11th, 2008 Posted in Code Snippets.
rubytips.org
A Quick Dose of Ruby History
http://www.rubytips.org/2008/01/10/a-quick-dose-of-ruby-history
My Take on Ruby and Ruby on Rails. A Quick Dose of Ruby History. When you are learning something new, the first thing you should check out is its history. When you go through the history, you get a better perspective. It is the same with Ruby language and hence let us get a quick dose of Ruby history. Ruby 2.0 will be the next major release and it is intended to expand Ruby lanugage and to improve the interpreter performance. Following are the key turning points in Ruby history,. Thursday, January 10th, ...
rubytips.org
Using temporary files in Ruby – Tempfile.new
http://www.rubytips.org/2008/01/11/using-temporary-files-in-ruby-tempfilenew
My Take on Ruby and Ruby on Rails. Using temporary files in Ruby – Tempfile.new. For certain programming solutions, you might need a temporary file. Different operating systems store temporary files in different locations. Also you don’t want to explicitly name the file since that is irrelevant in the program. How do you ensure that there are no filename conflicts? The solution for all these is to use library for temp file processing. Require 'tempfile' class TempSample temp file = Tempfile.new('rand...
rubytips.org
Using Ruby’s http library – download and process web pages – I
http://www.rubytips.org/2008/01/09/using-rubys-http-library-download-and-process-web-pages-i
My Take on Ruby and Ruby on Rails. Using Ruby’s http library – download and process web pages – I. Ruby has excellent networking support. Ruby has low level networking features such as sockets and tcp/ip protocols. It also has a high level API for handling protocols such as http and ftp. In this post we will look the Ruby http library. We also look at how this library can be used to download and process web pages. 1 Downloading a web page using Ruby. Net: HTTPRedirection) new url = http response['Locatio...