1. Technology

Articles related to ruby input

Using the Input / Output Methods in Ruby - About.com
Input and output methods are often overlooked by many Ruby programmers. How often have you used the gets and puts methods without giving ...
Event-Oriented Input - Ruby - About.com
Input events are delivered to the Gosu::Window instance. In the main loop, before update is called, Gosu will deliver events for all buttons that have either been ...
Mouse Input - Ruby - About.com
Note that it uses both event-driven input (for the clicks), and query-driven input (to get the position ... Read more articles about Rapid Game Prototyping in Ruby.
Mouse and Keyboard Input in Gosu - Ruby - About.com
There are two primary ways to handle input in your program. The first is an event- oriented approach. When buttons are pressed, your programs receives an ...
Querying Input - Ruby - About.com
If event-based input is not your style, you can query any Gosu::Window to see if any button or key ... Read more articles about Rapid Game Prototyping in Ruby.
Splitting Strings in Ruby - the String#split Method - About.com
Unless user input is a single word or number, that input will need to be split, or turned into a list of strings or numbers.
Command-line Arguments in Ruby - About.com
Use command-line arguments to pass parameters to your Ruby scripts from the command line.
Key and Button Constants - Ruby - About.com
Mouse and Keyboard Input in Gosu · Rapid Game Prototyping in Ruby · Embedding Images in Gosu Programs · Z-Ordering and Layering in Gosu ...
The Case Statement in Ruby - About.com
So, for each when clause, Ruby will evaluate case === value until it finds a match . If we were to input Bob, Ruby would first evaluate "Alice" === "Bob", which ...
Interacting with External Programs - Ruby - About.com
Ruby Expert ... So how do we give programs input? ... It'll then enter an infinite loop and any input you pass to it, it will pass to bc, then read one line back from bc ...
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.