1. Technology

Articles related to ruby io

IO Quick Reference - Ruby - About.com
You use IO methods all the time: gets and puts. However, there are more options available to you, should you need them.
http://ruby.about.com/od/beginningruby/ss/Io-Quick-Reference.htm
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 ...
http://ruby.about.com/od/rubyfeatures/a/io.htm
Interacting with External Programs - Ruby - About.com
What IO.popen does is open another program in the background and give you an IO ... that looks just like a file, network socket, or any other IO interface in Ruby.
http://ruby.about.com/od/beginningruby/a/Interacting-With-External-Programs.htm
Serialization in Ruby: Marshal - About.com
There are several common ways to serialize objects in Ruby. ... Optionally, a second argument can be passed to Marshal::dump, an IO object (such as a file ...
http://ruby.about.com/od/advancedruby/ss/Serialization-In-Ruby-Marshal.htm
Running the Ruby Profiler - About.com
Running the Ruby profiler to determine which methods are most expensive and ... name 61.27 8.21 8.21 1 8210.00 12850.00 IO#each 13.58 10.03 1.82 98569 ...
http://ruby.about.com/od/advancedruby/a/profile.htm
ARGF, a Shortcut for Scripts - Ruby - About.com
You can now start using ARGF as you would any other IO object. ... every file into a single string, you could simply say ARGF.read and Ruby will handle the rest.
http://ruby.about.com/od/tasks/ss/Argf-A-Shortcut-For-Scripts.htm
Custom Serialization - Ruby - About.com
usr/bin/env ruby class Logfile def initialize(filename) @filename = filename # This IO object can't be marshaled @io = File.open(filename,'w') end def ...
http://ruby.about.com/od/advancedruby/ss/Serialization-In-Ruby-Marshal_3.htm
Regular Expression Options - Ruby - About.com
Ads. &ensp. &ensp. &ensp. For example, if you want to turn on the i and o options in the regex /ab[123]+c/, the regex would look like this: /ab[123]+c/io.
http://ruby.about.com/od/regularexpressions/a/options.htm
Using Data Streams - Ruby - About.com
The data stream is a way of appending data to the end of a Ruby file and reading it using the DATA IO object. The DATA IO object is just like any of the other IO ...
http://ruby.about.com/od/tasks/ss/smtp_4.htm
Build In Global Variables - Ruby - About.com
Ruby defines a number of built in global variables you may find you need at one ... this is nil, but this variable will be printed after every call to things like IO.write.
http://ruby.about.com/od/beginningruby/ss/Predefined-By-Ruby.htm
1  |  2  |  3  |  4  |  5      Next

©2014 About.com. All rights reserved.