Top Level Namespace

Defined Under Namespace

Modules: Filter Classes: Categories, Concordancer, ConfigStruct, CreateTables, Progress, String, TextProcessing, TextSnippet

Constant Summary collapse

Texts =
{:search => "Searching...", :read => "Importing files", :link => "Linking texts"}
Indicator =
%w'} ) ] | [ ( {'
CONF =
'config.yaml'
CConfig =
YAML.load_file(CONF) rescue ConfigStruct.new('jdbc:postgresql://localhost:5432/concordancer?user=concordancer&password=concordancer')
DB_VERSION =
2

Instance Method Summary collapse

Instance Method Details

#save!Object



14
15
16
17
18
# File 'lib/lumix/gui.rb', line 14

def save!
  File.open(CONF, 'w') do |f|
    f.write(CConfig.to_yaml)
  end
end