我在看一些seemlingly标准Haml的代码的权利,但只注意到它开始与一,5分钟的谷歌搜索的失败让我要它做什么答案“=!”:HAML - “!=”运算符是做什么的?
#What does the '!=' mean?
!= cache_content_if_not_prefetched(params) do
-if product_live?
=render :partial => 'products/product_tile'
-else
=render :partial => 'products/unavailable_product_tile'
真棒,谢谢! – 2013-03-19 01:24:57
@ RyanO'Donnell yw! – fmendez 2013-03-19 01:36:10