From 4a3a404a5cb2a8d5be83e28cec5c539928fa30f4 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 6 Jan 2017 23:18:24 -0500 Subject: aaaah --- lib/config.rb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/config.rb') diff --git a/lib/config.rb b/lib/config.rb index b22eedf..4690559 100644 --- a/lib/config.rb +++ b/lib/config.rb @@ -41,8 +41,11 @@ class Config def person_email(name) return @data['person_emails'][name] end - # Tags - def tag_name(abbr) - return @data['tag_names'][abbr] + # Categories + def categories + return @data['categories'].keys + end + def category_name(abbr) + return @data['categories'][abbr] end end -- cgit v1.2.3-54-g00ecf