summaryrefslogtreecommitdiff
path: root/lib/config.rb
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-06 23:18:24 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-06 23:18:24 -0500
commit4a3a404a5cb2a8d5be83e28cec5c539928fa30f4 (patch)
treeb6f636ba3ed0ce486941b1b9ad67cb0973699d6b /lib/config.rb
parent7edb003cd1c9b53ffdff11ef85532e39f08db16d (diff)
aaaah
Diffstat (limited to 'lib/config.rb')
-rw-r--r--lib/config.rb9
1 files changed, 6 insertions, 3 deletions
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