ref: refs/heads/master
commit 98aaa58bc119bd4f240f4d332c0455a8f551b1c8
Author: Josef Reidinger
Date: Tue Aug 4 15:50:12 2009 +0200
generate doc for language backend
---
plugins/language/app/models/language.rb | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/plugins/language/app/models/language.rb b/plugins/language/app/models/language.rb
index ae2df79..6c3b16a 100644
--- a/plugins/language/app/models/language.rb
+++ b/plugins/language/app/models/language.rb
@@ -20,7 +20,7 @@ class Language
# Parses response from dbus YaPI call
# response:: response from dbus
- def parse_response(response)
+ def parse_response(response) #:doc:
@language = response["current"]
@utf8 = response["utf8"]
@rootlocale = response["rootlang"]
@@ -32,7 +32,7 @@ class Language
# Creates argument for dbus call which specify what data is requested.
# Available languages is cached so request it only if it is necessary.
# return:: hash with requested keys
- def create_read_question
+ def create_read_question #:doc:
ret = {
"current" => "true",
"utf8" => "true",
@@ -56,6 +56,7 @@ class Language
end
# fills language instance with data from YaPI.
+ #
# +warn+: Doesn't take any parameters and is not static.
def find
parse_response YastService.Call("YaPI::LANGUAGE::Read",create_read_question)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org