Mega Code Archive

 
Categories / Ruby / Language Basics
 

Prefix and variable type

$files          # A global variable @data           # An instance variable @@counter       # A class variable empty?          # A Boolean-valued method or predicate sort!           # An in-place alternative to the regular sort method timeout=        # A method invoked by assignment