Ruby
This is the beginning of my Ruby Tutorial. Either read this, or head over to the Programming Exercises and start solving them using Ruby.
- Getting started with Ruby (print, puts, comments, arithmetic, strings, length, reverse)
- Variables and variable interpolation in Ruby
- Arrays in Ruby
- For loop in Ruby (iterating over array elements)
- Range in Ruby(.. and ...)
- ARGV - the command line arguments of a Ruby program
- Open file and read content in Ruby
- Download an HTML page using Ruby (Fetch a URL)
- Basic data structures in Ruby (Scalar, Array, Hash)
- Reading CSV file in Ruby
- Iterate over characters of a string in Ruby (split, each_char)
- Analyze Apache log file - count localhost in Ruby
- Pretty printing complex data structures in Ruby - like Data::Dumper in Perl
- The 14 most important Ruby Resources
- Sum of numbers in a file implemented in Ruby
- Number guessing game in Ruby
- How to convert a string to UPPERCASE or lowercase in Ruby?
- Count web server hits using Ruby
- split in Ruby
- The conditional operator in Ruby
- Convert String to Number in Ruby
- Count digits in Ruby
- Hello World using CGI in Ruby
- Ruby ENV
- How to write to a file in Ruby
- Logical operators in Ruby (and, or, not), (&&, ||, !)
Published on 2015-06-03
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post