summaryrefslogtreecommitdiff
path: root/tasks/cbgb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/cbgb.rb')
-rw-r--r--tasks/cbgb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/cbgb.rb b/tasks/cbgb.rb
index 801739a6af..9621f160c3 100644
--- a/tasks/cbgb.rb
+++ b/tasks/cbgb.rb
@@ -68,12 +68,12 @@ begin
end
def person(list, person)
- if list[person].has_key?("GitHub")
+ if list[person].key?("GitHub")
out = "* [#{list[person]["Name"]}](https://github.com/#{list[person]["GitHub"]})"
else
out = "* #{list[person]["Name"]}"
end
- if list[person].has_key?("Person")
+ if list[person].key?("Person")
out << " - #{list[person]["Person"]}"
end
out