Module: Gemqs

Defined in:
lib/gemqs.rb,
lib/gemqs/version.rb

Defined Under Namespace

Classes: Organizer, Scraper

Constant Summary collapse

CONFIGURATION_FILE =
File.dirname(__FILE__) + "/../config/config.yml"
VERSION =
"0.1.5"

Instance Method Summary collapse

Instance Method Details

#confObject



9
10
11
12
13
14
15
16
17
18
# File 'lib/gemqs.rb', line 9

def conf
    if !@conf then
      f=File.open CONFIGURATION_FILE
      @conf = YAML::load( f )
      @conf[:query]=''
      @conf
    else 
      @conf
    end 
end