1. Tech

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
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
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
A short introduction to methods in Ruby - Beginning Ruby Tutorial ...
A method in Ruby is an action taken on a specific object. You can also think of them as functions, but I find that thinking of them in the context of an action on an  ...
http://perl.about.com/od/rubytutorials/qt/rubymethods.htm
References to Methods in Ruby - About.com
While it may not make sense to do so at first, it is possible to take a reference to a method in Ruby.
http://ruby.about.com/od/advancedruby/ss/References-To-Methods-In-Ruby.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
Dynamic Method Calls - Ruby - About.com
Underneath it all, the methods might as well be functions that are almost called directly by ... Remember that Ruby has very little concept of a "compile time.
http://ruby.about.com/od/oo/ss/Dynamic-Method-Calls.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
Using Attributes With Ruby - About.com
Ruby doesn't make a distinction between attribute getters and setters and normal methods. Because of Ruby's flexible method calling syntax, no distinction ...
http://ruby.about.com/od/oo/ss/Using-Attributes.htm
Instance Variables in Ruby - About.com
Instance variables begin with an at sign (@) and can be referenced only within class methods. They differ from local variables in that they don't exist within any ...
http://ruby.about.com/od/variables/a/Instance-Variables.htm
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2015 About.com. All rights reserved.