Ruby中冒号:和胖箭的区别是什么=>?还是什么时候用?
:
=>
:foo => true foo: true
ruby syntax hash hashrocket
hash ×1
hashrocket ×1
ruby ×1
syntax ×1