Latest Answer : Classes,Objects,Inheritance,Singleton methods,polymorphism(accomplished by over riding and overloading) are some oo concepts supported by ruby. ...
Latest Answer : Ruby is supported by windows and linux. ...
Latest Answer : Iterator is handled using keyword 'each' in ruby.For example $no=[1,2,3]then we can use iterator as$no.each do |l|puts lendAbove prints the values of an array $no which is accomplished using iterator. ...
Latest Answer : A new scope for a local variable is introduced in the toplevel, a class (module) definition, a method defintion. In a procedure block a new scope is introduced but you can access to a local variable outside the block. The scope in a block is special ...
Latest Answer : for..in
untill..end
while..end
do..end ...
Latest Answer : Don't forget the funky ones like a b, which returns 1 if a > b, 0 if a = b and -1 if a < b. ...