(追記) (追記ここまで)
The beginning of our point and click glossary to ruby - we'll see how it goes. We'd like to see some form of feature in the RDOC stuff with user contributions like the PHP manual and if we ever get round to it (unlikely) we'll do some more thinking. If the item below has got a link read it - otherwise put up with our definition. You have been warned.
Select from the range below:
Symbols ?, #, ::, etc. | a - d | e - l | m - r | s - z
myinst.each {|x| print x}
# exactly the same as
myinst::each {|x| print x}
# where each is a method (uses 'def')
# use in a sub-class
class Thing
class One
end
end
# is invoked by
inst = Thing::One.new
# if you use Thing.One it will look for a method
%q single quoted string %Q double quoted string %w array of tokens %r regular expression %x shell command
myarray << 1 # add new element to array mystring << "add" # faster that mystring += "add"
class Two ... end class One < Two # class One inherits all the methods of class Two # plus its own methods ... end
Select from the range below:
Symbols ?, #, ::, etc. | a - d | e - l | m - r | s - z
Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or . You will have a warm inner glow for the rest of the day.
Tech Stuff
If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C standards compliant browser such as Firefox
Main Ruby site
Ruby extensions
The Book
Ruby Central.org
ruby-doc.org
Ruby Gargen
RCArchive
rubyxml
RubyGems
Ruby on Rails
Site
CSS Technology SPF Record Conformant DomainFrench