1. Tech

Your suggestion is on its way!

An email with a link to:

http://ruby.about.com/new.htm

was emailed to:

Thanks for sharing About.com with others!

New Articles and Resources
  • Random Numbers in Ruby Created: Tuesday, September 30, 2014 Updated: Tuesday, September 30, 2014
    How to get random numbers in Ruby.
  • Quickly Run an HTTP Server with Ruby (Also, the Un Library) Created: Tuesday, September 30, 2014 Updated: Tuesday, September 30, 2014
    Quickly Run an HTTP Server with Ruby (Also, the Un Library)
  • How Do I Create a Struct from a Hash? Created: Tuesday, September 30, 2014 Updated: Tuesday, September 30, 2014
    I have a hash, but I want a struct. How do I create a struct from a hash?
  • Simple Ruby Created: Sunday, August 31, 2014 Updated: Sunday, August 31, 2014
    The following is a short collection of tips that are so obvious they've likely been staring you in the face for a very long time. Why haven't you been using them? You're likely stuck in a rut, doing things in a certain way without even realizing there is a slightly easier way.
  • Is Ruby a Good First Language to Learn? Created: Sunday, August 31, 2014 Updated: Tuesday, September 09, 2014
    Is Ruby a good first language to learn? Everyone has to start somewhere, and is Ruby an appropriate place to start if you're looking to take the plunge and learn a programming language?
  • Reserved Words in Ruby Created: Sunday, August 31, 2014 Updated: Sunday, August 31, 2014
    Every language has a number of reserved words that cannot be used as variable or method names. Ruby's reserved words are as follows.
  • Combining Arrays in Ruby Created: Thursday, July 31, 2014 Updated: Thursday, July 31, 2014
    There are a number of ways to combine arrays in Ruby.
  • Delegates Created: Thursday, July 31, 2014 Updated: Thursday, July 31, 2014
    How to use delegates in Ruby.
  • Dynamic Method Invocation Created: Thursday, July 31, 2014 Updated: Thursday, July 31, 2014
    How to dynamically call methods in Ruby.
  • Effective Debug Messages Created: Monday, June 30, 2014 Updated: Monday, June 30, 2014
    Using simple techniques to improve your debug messages.
  • Progress Bars with the ruby-progressbar Gem Created: Monday, June 30, 2014 Updated: Monday, June 30, 2014
    How to use the ruby-progressbar gem to display progress bars on the command line.
  • Using IPAddr to Test Subnetworks Created: Monday, June 30, 2014 Updated: Monday, June 30, 2014
    Using the built in IPAddr library to test if an IP Address belongs to a certain subnetwork.
  • Mutexes Created: Saturday, May 31, 2014 Updated: Saturday, May 31, 2014
    Mutexes are a way to prevent more than one thread from accessing the same resource (variable, file, socket, etc) at the same time.
  • Thread Pools Created: Saturday, May 31, 2014 Updated: Saturday, May 31, 2014
    Thread pools are a common pattern in many programs: the need to run M tasks, but only wish to run N of them in parallel at a time.
  • Threads Created: Saturday, May 31, 2014 Updated: Saturday, May 31, 2014
    Threads are the primary method of concurrency and parallelism in Ruby.
  • Threads in Ruby Created: Saturday, May 31, 2014 Updated: Tuesday, July 22, 2014
    Ruby does have threads, however the threading support in MRI (the most widely used Ruby interpreter) is not complete.  It supports concurrency for IO-bound
  • Conditional Assignments Created: Wednesday, April 30, 2014 Updated: Wednesday, April 30, 2014
    The shortcut rule (which says in a || b if a is true then don't evaluate b) can be used for efficient conditional assignment.
  • Signals Created: Wednesday, April 30, 2014 Updated: Wednesday, April 30, 2014
    Signals are an OS-level form of primitive interprocess communication, often used to kill programs. You can, however, handle them in Ruby.
  • Fibers Created: Wednesday, April 30, 2014 Updated: Wednesday, April 30, 2014
    Fibers are a lightweight concurrency model available in Ruby that avoids the comparatively heavy OS level threads.
  • Cloning 2048 in Ruby Created: Monday, March 31, 2014 Updated: Monday, March 31, 2014
    In this series of articles, a complete clone of the game 2048 is written from scratch.
  • The Final Few Methods Created: Monday, March 31, 2014 Updated: Monday, March 31, 2014
    Now that the core of the game is done, we take a few minutes and look at a few odds and ends. Among those, the code that spawns new tiles and the code that looks for the game over state.
  • The Core Algorithm Created: Monday, March 31, 2014 Updated: Monday, March 31, 2014
    Finally, onto the meat of 2048. We take a look at how the board is rotated and slid to implement the game of 2048.
  • The Board Class Created: Monday, March 31, 2014 Updated: Monday, March 31, 2014
    Before we dive into the heavy stuff, we'll look at the array we use to store the board, as well as how to print the board to the console and a few other things.
  • Rotating a Two Dimensional Array in Ruby Created: Monday, March 31, 2014 Updated: Monday, March 31, 2014
    In order to implement the 2048 algorithm cleanly, we'll need to know how to rotate a 2D array by 90 degrees in Ruby.
  • Two Dimensional Arrays in Ruby Created: Monday, March 31, 2014 Updated: Monday, March 31, 2014
    We'll use a two dimensional array to represent the 2048 game board, but how do we create a 2D array in Ruby?
  • The Algorithm Created: Monday, March 31, 2014 Updated: Monday, March 31, 2014
    Before we start coding, we take some time to look at the game of 2048.
  • Finishing the Project Created: Friday, February 28, 2014 Updated: Friday, February 28, 2014
    This last article just staples the previous articles together. Once you know how to do Win32 API calls and AJAX-powered web applications in Sinatra, it all just falls into place.
  • AJAX With Sinatra Created: Friday, February 28, 2014 Updated: Friday, February 28, 2014
    In this article we take a look at how to use jQuery and Sinatra to implement an AJAX interface.
  • Sinatra Web Applications in JRuby Created: Friday, February 28, 2014 Updated: Friday, February 28, 2014
    Now that we have a solid foundation in dealing with the Win32 API, we can start building the frontend using Sinatra and Haml.
  • Simulating Keystrokes with JRuby Created: Friday, January 31, 2014 Updated: Friday, February 28, 2014
    While Ruby and Windows don't always mix that well, we're going to apply just a bit of force and get them to mix. In this series of articles we'll look at automating Windows applications from JRuby.
  • Sending Win32 Keyboard Messages with via FFI Created: Friday, January 31, 2014 Updated: Friday, January 31, 2014
    Now that we have a cursory understanding of FFI, let's use it to find a specific window and send some keyboard events to it.
  • Using FFI to Access Win32 Created: Friday, January 31, 2014 Updated: Friday, January 31, 2014
    Breaking out of Ruby's jail is not so hard once you get the hang of FFI (the Foreign Function Interface). We'll use FFI to start automating some Win32 tasks.
Explore Ruby
By Category
    rubyRubycomputeTechbc50405f6500016666800be03c53ced14a0007b41c0042dbhttp://ruby.about.comod526F6F7444924liveMichael MorinrubyguideLmC0001qzNIP11970-01-0110/od/index.htm0526F6F741approved/od
  1. About.com
  2. Tech
  3. Ruby

©2015 About.com. All rights reserved.