rcscript-client 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rcscript-client.rb +1 -1
- metadata +1 -1
data/lib/rcscript-client.rb
CHANGED
@@ -53,7 +53,7 @@ class RScriptClient
|
|
53
53
|
summary_node = XPath.match(@doc.root, 'summary/*')
|
54
54
|
if summary_node then
|
55
55
|
summary_node.each do |node|
|
56
|
-
method = "def %s();
|
56
|
+
method = "def %s(); \"%s\"; end" % [node.name, node.text.to_s]
|
57
57
|
self.instance_eval(method)
|
58
58
|
end
|
59
59
|
records = XPath.match(@doc.root, 'records/*/text()')
|