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?
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 ...
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.
A short introduction to methods in Ruby - Beginning Ruby Tutorial ...
Methods are typically defined in and for each individual object, but there is a special object called the Kernel in Ruby that all other objects inherit from. Kernel ...
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 ...
Instantiation and the Initialize Method - Ruby - About.com
Ruby objects are instantiated using the Class.new method, and initialize using their own initialize methods.
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.
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 ...
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 ...
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 ...