From 05a3fd233ec1ac4475bd797449d1284f6824c005 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 1 Mar 2011 20:41:28 -0500 Subject: v3: ruby 1.9 hash symbol syntax adopted --- lib/sisu/v3/options.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/sisu/v3/options.rb') diff --git a/lib/sisu/v3/options.rb b/lib/sisu/v3/options.rb index ebb39774..a79b08f3 100644 --- a/lib/sisu/v3/options.rb +++ b/lib/sisu/v3/options.rb @@ -158,10 +158,10 @@ module SiSU_commandline u=/.+?\/([^\/]+)(?:(?:\/(?:en|fr|es)$)|$)/ t=/.+\/(en|fr|es)/ f_pths << { - :pth => pt.split[0].realpath.to_s, - :f => pt.split[1].to_s, - :pth_stub => pt.split[0].realpath.to_s[u,1], - :lng => (pt.split[0].realpath.to_s[t,1]) \ + pth: pt.split[0].realpath.to_s, + f: pt.split[1].to_s, + pth_stub: pt.split[0].realpath.to_s[u,1], + lng: (pt.split[0].realpath.to_s[t,1]) \ ? pt.split[0].realpath.to_s[t,1] \ : nil } -- cgit v1.2.3