![]() Related Questions View Question | Asked by : Tarique A.K. 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 : SciTE(default editor), Netbeans, Eclipse, JetBrains RubyMine ... Latest Answer : :var : Semicolon followed by an identifier tells us that var is symbol.Two strings with same content may belong to two totally different objetcs but if you convert these two strings to symbol, both of them belongs to the same symbol object.If a string ... 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. ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||