lib/wiki_extensions_emoticons.rb
# To change this template, choose Tools | Templates
# and open the template in the editor.
require "yaml"
module WikiExtensionsEmoticons
YAML_FILE = File.join(File.dirname(__FILE__), '../config/emoticons.yml')
class Emoticons
def emoticons
@@emoticons ||= YAML.load_file(YAML_FILE)
end
end
end