From 08d5f030fdc3ab8736155e91ebdb481cce7aef5e Mon Sep 17 00:00:00 2001 From: ujihisa Date: Mon, 1 Apr 2013 20:20:34 -0700 Subject: [PATCH] abandone legacy ruby syntax --- autoload/neosnippet/snippets/rails.snip | 42 ++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/autoload/neosnippet/snippets/rails.snip b/autoload/neosnippet/snippets/rails.snip index 5567bd6..ac2a5a9 100644 --- a/autoload/neosnippet/snippets/rails.snip +++ b/autoload/neosnippet/snippets/rails.snip @@ -4,39 +4,39 @@ abbr render snippet ra abbr render :action - render :action => + render action: snippet rc abbr render :controller - render :controller => + render controller: snippet rf abbr render :file - render :file => + render file: snippet ri abbr render :inline - render :inline => + render inline: snippet rj abbr render :json - render :json => + render json: snippet rl abbr render :layout - render :layout => + render layout: snippet rp abbr render :partial - render :partial => + render partial: snippet rt abbr render :text - render :text => + render text: snippet rx abbr render :xml - render :xml => + render xml: snippet dotiw abbr distance_of_time_in_words @@ -52,11 +52,11 @@ abbr redirect_to snippet rea abbr redirect_to :action - redirect_to :action => + redirect_to action: snippet rec abbr redirect_to :controller - redirect_to :controller => + redirect_to controller: snippet rst abbr respond_to @@ -143,22 +143,22 @@ abbr logger.fatal logger.fatal snippet action -abbr :action => - :action => +abbr action: + action: snippet co_ -abbr :co________ => - :co________ => +abbr co________: + co________: snippet id -abbr :id => - :id => +abbr id: + id: snippet object -abbr :object => - :object => +abbr object: + object: snippet partial -abbr :partial => - :partial => +abbr partial: + partial: