xaviershay / enki-vim

Publish to enki with VIM. That's pretty neat.

enki-vim / lib / enki_vim_config.rb
100644 12 lines (10 sloc) 0.215 kb
1
2
3
4
5
6
7
8
9
10
11
12
class EnkiVimConfig
  class << self
    def config
      YAML.load(IO.read(File.expand_path(File.join(File.dirname(__FILE__), '..', 'config.yml'))))
    end
 
    def [](key)
      config[key.to_s]
    end
  end
end