From 246b729a315b974a747cb1d19d1787f04dba4948 Mon Sep 17 00:00:00 2001 From: Steve Ross Date: Fri, 17 May 2013 20:46:21 -0700 Subject: [PATCH] restated hash example in 1.9.3 hash syntax --- README.md | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 3009e13..708b4f7 100644 --- a/README.md +++ b/README.md @@ -465,19 +465,21 @@ A note about table screens. You may not want a sectioned table. In that case, use only one section and set its value to `nil`. For example: ```ruby -[ {:title=>nil, - :cells=>[ - {:title=>"37th Annual Grammy Awards", :subtitle=>"Nokia Theater"} +[{ + title: nil, + cells: [ + {title: "37th Annual Grammy Awards", subtitle: "Nokia Theater"} ] - }, - {:title=>nil, - :cells=>[ - {:title=>"87th Academy Awards", :subtitle=>"Nokia Theater"} - ] - }, - {:title=>nil, - :cells=>[{:title=>"Golden Globe Awards", :subtitle=>"Beverly Hilton"}]} -] + }, { + title: nil, + cells: [ + {title: "87th Academy Awards", subtitle: "Nokia Theater"} + ]}, { + title: nil, + cells: [ + {title: "Golden Globe Awards", subtitle: "Beverly Hilton"} + ] +}] ``` ## Using your own UIViewController