1. Technology

Articles related to ruby methods

Methods - Ruby - About.com
Methods are very important in Ruby. You have probably used them before, but have you thought about how to really define them?
http://ruby.about.com/od/oo/ss/methods.htm
References to Methods in Ruby - About.com
Not like in Ruby where methods are somewhere out there in the aether. You can't take the address of a method in Ruby, can you? Or hold a reference to a ...
http://ruby.about.com/od/advancedruby/ss/References-To-Methods-In-Ruby.htm
Aliasing a Method in Ruby - About.com
To alias a method or variable name in Ruby is to create a second name for the method or variable. Aliasing can be used either to provide more expressive ...
http://ruby.about.com/od/rubyfeatures/a/aliasing.htm
More About Methods - Ruby - About.com
Surprisingly (because Ruby is usually so progressive in these respects), Ruby methods are not first class objects. They exist in a kind of limbo. They can be ...
http://ruby.about.com/od/oo/ss/More-About-Methods.htm
Dynamic Method Calls - Ruby - About.com
If you're coming from a compiled language, it's easy to think that method calls are like native function calls. This is simply not the case in Ruby.
http://ruby.about.com/od/oo/ss/Dynamic-Method-Calls.htm
Instantiation and the Initialize Method - Ruby - About.com
Ruby objects are instantiated using the Class.new method, and initialize using their own initialize methods.
http://ruby.about.com/od/oo/ss/Instantiation-And-The-Initialize-Method.htm
Method Visibility - Ruby - About.com
Method visibility is crucial to implement proper encapsulation. Ruby provides ways to not only hide instance variables, but to hide instance methods as well.
http://ruby.about.com/od/oo/ss/Method-Visibility.htm
Using the Input / Output Methods in Ruby - About.com
The primary methods in Ruby to accomplish this are puts or "put string" to write to the terminal and gets or "get string" to read from the keyboard.
http://ruby.about.com/od/rubyfeatures/a/io.htm
Method for Mapping the Values of an Array - Ruby - About.com
Iterating over arrays isn't the only trick up Ruby's sleeve. Having the ability to map arrays (and other enumerable collections) is a powerful feature.
http://ruby.about.com/od/rubysbasicfeatures/ss/Mapping-Arrays.htm
How to Use and Create Blocks in Ruby - About.com
Though they confuse some new Ruby programmers at first, they're actually pretty simple. Blocks are merely nameless methods you can pass to other methods.
http://ruby.about.com/od/beginningruby/a/blocks.htm
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.