symbol

A symbol looks like a variable symbols
name, but it’s prefixed with a colon. Examples of symbols include :action,
:line_items, and :id. You can think of symbols as string literals that are
magically made into constants. Alternatively, you can consider the colon
to mean “thing named” so :id is “the thing named id.”

 

 



你可能感兴趣的:(ol)