What does "$>" represent in Ruby documentation? -


as in:

def pp.pp(obj, out=$>, width=79) ... 

this pp method of pp class:
http://www.ruby-doc.org/stdlib-2.0/libdoc/pp/rdoc/pp.html#method-c-pp

$> io destination kernel#print (and therefore puts), , other output methods. defaults $stdout, can changed change behavior of print, printf, puts, etc.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -