SYMBOL
’’ (backticks system command operator) calling system program with ^ (caret) ^= (bitwise EXCLUSIVE OR) operator : (single colon) Symbol literal constructor :: (double colon) constant resolution operator :: separator ! (bang) at end of method names operator, 2nd !@ method != method ?c ?d ?e ?f ?z . (dot) in regular expressions wildcard character ... (range literal constructor) .svn '' (string literal constructor) “” (String literal constructor) [] variety of meanings Array literal constructor hash constructor method {} (curly braces) Hash literal constructor to specify pattern repetition count - operator, customizing @ (at sign) -@ method @hash * (asterisk) and to_a expands array into bare list prefix operator star operator ...
Get The Well-Grounded Rubyist now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.