fantasdic r351 - in trunk: . lib/fantasdic/sources
- From: mblondel svn gnome org
- To: svn-commits-list gnome org
- Subject: fantasdic r351 - in trunk: . lib/fantasdic/sources
- Date: Mon, 1 Sep 2008 11:33:03 +0000 (UTC)
Author: mblondel
Date: Mon Sep 1 11:33:02 2008
New Revision: 351
URL: http://svn.gnome.org/viewvc/fantasdic?rev=351&view=rev
Log:
* lib/fantasdic/sources/virtual_dictionary.rb: Fixed typo.
Modified:
trunk/ChangeLog
trunk/lib/fantasdic/sources/virtual_dictionary.rb
Modified: trunk/lib/fantasdic/sources/virtual_dictionary.rb
==============================================================================
--- trunk/lib/fantasdic/sources/virtual_dictionary.rb (original)
+++ trunk/lib/fantasdic/sources/virtual_dictionary.rb Mon Sep 1 11:33:02 2008
@@ -39,13 +39,13 @@
def available_databases
hsh = {}
- authorized_databses.each { |d| hsh[d] = d }
+ authorized_databases.each { |d| hsh[d] = d }
hsh
end
def define(db, word)
virtual_dbs = if db == Source::Base::ALL_DATABASES
- authorized_databses
+ authorized_databases
else
[db]
end
@@ -62,7 +62,7 @@
def match(db, strat, word)
dbs = if db == Source::Base::ALL_DATABASES
- authorized_databses
+ authorized_databases
else
[db]
end
@@ -89,7 +89,7 @@
@prefs.dictionaries_infos[db][:source] == "VirtualDictionary"
end
- def authorized_databses
+ def authorized_databases
@prefs.dictionaries.find_all { |db| not is_virtual?(db) }
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]