From b782bb6abc3f20fd42da20fcfe6ce2641b7d2704 Mon Sep 17 00:00:00 2001 From: Kalman Hazins Date: Fri, 9 May 2014 09:40:21 -0400 Subject: [PATCH] Update stackexchange.rb Switch to the new 1.9+ symbol notation inside hashes. Welcome to the 21st century! :) --- examples/stackexchange.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/stackexchange.rb b/examples/stackexchange.rb index 685a78d..16af422 100644 --- a/examples/stackexchange.rb +++ b/examples/stackexchange.rb @@ -7,7 +7,7 @@ class StackExchange base_uri 'api.stackexchange.com' def initialize(service, page) - @options = { :query => {:site => service, :page => page} } + @options = { query: {site: service, page: page} } end def questions