myexperiment-rest 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +3 -0
- data/README +1 -1
- data/Rakefile +7 -7
- data/bin/get_workflow_data.rb +7 -0
- data/doc/rdoc/CHANGES.html +123 -0
- data/doc/rdoc/LICENSE.html +121 -0
- data/doc/rdoc/MyExperimentREST.html +160 -0
- data/doc/rdoc/MyExperimentREST/TavernaIOData.html +255 -0
- data/doc/rdoc/MyExperimentREST/TavernaUser.html +303 -0
- data/doc/rdoc/MyExperimentREST/TavernaWorkflow.html +346 -0
- data/doc/rdoc/MyExperimentREST/Workflows.html +258 -0
- data/doc/rdoc/README.html +138 -0
- data/doc/rdoc/created.rid +6 -1
- data/doc/rdoc/images/brick.png +0 -0
- data/doc/rdoc/images/brick_link.png +0 -0
- data/doc/rdoc/images/bug.png +0 -0
- data/doc/rdoc/images/bullet_black.png +0 -0
- data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
- data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
- data/doc/rdoc/images/date.png +0 -0
- data/doc/rdoc/images/find.png +0 -0
- data/doc/rdoc/images/loadingAnimation.gif +0 -0
- data/doc/rdoc/images/macFFBgHack.png +0 -0
- data/doc/rdoc/images/package.png +0 -0
- data/doc/rdoc/images/page_green.png +0 -0
- data/doc/rdoc/images/page_white_text.png +0 -0
- data/doc/rdoc/images/page_white_width.png +0 -0
- data/doc/rdoc/images/plugin.png +0 -0
- data/doc/rdoc/images/ruby.png +0 -0
- data/doc/rdoc/images/tag_green.png +0 -0
- data/doc/rdoc/images/wrench.png +0 -0
- data/doc/rdoc/images/wrench_orange.png +0 -0
- data/doc/rdoc/images/zoom.png +0 -0
- data/doc/rdoc/index.html +115 -20
- data/doc/rdoc/js/darkfish.js +116 -0
- data/doc/rdoc/js/jquery.js +32 -0
- data/doc/rdoc/js/quicksearch.js +114 -0
- data/doc/rdoc/js/thickbox-compressed.js +10 -0
- data/doc/rdoc/lib/myexperiment-rest/myexperiment_rest_rb.html +60 -0
- data/doc/rdoc/lib/myexperiment-rest_rb.html +54 -0
- data/doc/rdoc/rdoc.css +763 -0
- data/lib/myexperiment-rest/myexperiment_rest.rb +53 -9
- metadata +41 -52
- data/doc/classes/MyExperimentREST.html +0 -113
- data/doc/classes/MyExperimentREST/IOData.html +0 -169
- data/doc/classes/MyExperimentREST/IOData.src/M000003.html +0 -20
- data/doc/classes/MyExperimentREST/ReadWorkflow.html +0 -184
- data/doc/classes/MyExperimentREST/ReadWorkflow.src/M000002.html +0 -39
- data/doc/classes/MyExperimentREST/ReadWorkflow.src/M000005.html +0 -41
- data/doc/classes/MyExperimentREST/TavernaIOData.html +0 -167
- data/doc/classes/MyExperimentREST/TavernaIOData.src/M000006.html +0 -20
- data/doc/classes/MyExperimentREST/TavernaIOData.src/M000007.html +0 -20
- data/doc/classes/MyExperimentREST/TavernaWorkflow.html +0 -209
- data/doc/classes/MyExperimentREST/TavernaWorkflow.src/M000005.html +0 -23
- data/doc/classes/MyExperimentREST/TavernaWorkflow.src/M000006.html +0 -22
- data/doc/classes/MyExperimentREST/Workflow.html +0 -172
- data/doc/classes/MyExperimentREST/Workflow.src/M000001.html +0 -21
- data/doc/classes/MyExperimentREST/Workflows.html +0 -167
- data/doc/classes/MyExperimentREST/Workflows.src/M000004.html +0 -41
- data/doc/classes/TestReadWorkflow.html +0 -167
- data/doc/classes/TestReadWorkflow.src/M000001.html +0 -18
- data/doc/classes/TestReadWorkflow.src/M000002.html +0 -24
- data/doc/classes/TestReadWorkflow.src/M000003.html +0 -20
- data/doc/classes/TestReadWorkflow.src/M000004.html +0 -20
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -148
- data/doc/files/bin/get_workflow_data_rb.html +0 -116
- data/doc/files/lib/myexperiment-rest/my_experiment_rest_rb.html +0 -110
- data/doc/files/lib/myexperiment-rest/myexperiment_rest_rb.html +0 -110
- data/doc/files/lib/myexperiment-rest_rb.html +0 -108
- data/doc/files/test/test_read_workflow_rb.html +0 -122
- data/doc/fr_class_index.html +0 -26
- data/doc/fr_file_index.html +0 -27
- data/doc/fr_method_index.html +0 -26
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
- data/doc/rdoc/classes/MyExperimentREST.html +0 -117
- data/doc/rdoc/classes/MyExperimentREST/TavernaIOData.html +0 -178
- data/doc/rdoc/classes/MyExperimentREST/TavernaWorkflow.html +0 -223
- data/doc/rdoc/classes/MyExperimentREST/Workflows.html +0 -199
- data/doc/rdoc/files/CHANGES.html +0 -130
- data/doc/rdoc/files/LICENSE.html +0 -133
- data/doc/rdoc/files/README.html +0 -146
- data/doc/rdoc/files/lib/myexperiment-rest/myexperiment_rest_rb.html +0 -110
- data/doc/rdoc/files/lib/myexperiment-rest_rb.html +0 -108
- data/doc/rdoc/fr_class_index.html +0 -30
- data/doc/rdoc/fr_file_index.html +0 -31
- data/doc/rdoc/fr_method_index.html +0 -29
- data/doc/rdoc/rdoc-style.css +0 -208
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rest_client'
|
3
|
+
require 'open-uri'
|
3
4
|
require 'libxml'
|
4
5
|
|
5
6
|
module MyExperimentREST
|
@@ -38,7 +39,7 @@ module MyExperimentREST
|
|
38
39
|
# Get workflow resource information -- if version is empty it returns the current version
|
39
40
|
response = RestClient.get('http://www.myexperiment.org/workflow.xml', {:params => {'id' => "#{workflow_id}",
|
40
41
|
'version' => "#{workflow_version}",
|
41
|
-
'elements' => 'title,description,content-uri,components'} } )
|
42
|
+
'elements' => 'title,description,content-uri,components,uploader'} } )
|
42
43
|
|
43
44
|
populate_workflow(response)
|
44
45
|
end
|
@@ -47,6 +48,9 @@ module MyExperimentREST
|
|
47
48
|
private
|
48
49
|
|
49
50
|
# Acquire data from XML response and instantiate a _Taverna_Workflow_ object
|
51
|
+
#--
|
52
|
+
# TODO: refactor so that each (logical) workflow element is an object with
|
53
|
+
# its own read from_xml method...
|
50
54
|
def populate_workflow(response)
|
51
55
|
doc = XML::Document.string(response)
|
52
56
|
wkf_xml_uri = doc.find_first("/workflow/content-uri").content
|
@@ -54,14 +58,15 @@ module MyExperimentREST
|
|
54
58
|
wkf_descr = doc.find_first("/workflow/description").content
|
55
59
|
wkf_inputs = get_IOData(doc, "source")
|
56
60
|
wkf_outputs = get_IOData(doc, "sink")
|
61
|
+
wkf_user = get_user(doc.find_first("/workflow/uploader").attributes['uri'])
|
57
62
|
|
58
|
-
TavernaWorkflow.new(TavernaWorkflow::MY_EXPERIMENT, wkf_xml_uri, wkf_title, wkf_descr, wkf_inputs, wkf_outputs)
|
63
|
+
TavernaWorkflow.new(TavernaWorkflow::MY_EXPERIMENT, wkf_xml_uri, wkf_title, wkf_descr, wkf_inputs, wkf_outputs, wkf_user)
|
59
64
|
|
60
65
|
end
|
61
66
|
|
62
67
|
|
63
68
|
#
|
64
|
-
# Populate
|
69
|
+
# Populate _TavernaIOData_ objects for specified type: value +source+'+ is for inputs
|
65
70
|
# and +sink+ for outputs
|
66
71
|
#
|
67
72
|
def get_IOData(doc, type)
|
@@ -94,14 +99,32 @@ module MyExperimentREST
|
|
94
99
|
end
|
95
100
|
|
96
101
|
|
102
|
+
#
|
103
|
+
# Populate _TavernaUser_ object for specified user resource
|
104
|
+
#
|
105
|
+
def get_user(user_uri)
|
106
|
+
doc = XML::Document.file(user_uri)
|
107
|
+
user = TavernaUser.new(doc.find_first("/user/name").content,
|
108
|
+
doc.find_first("/user/description").content,
|
109
|
+
doc.find_first("/user/email").content,
|
110
|
+
doc.find_first("/user/avatar").attributes['uri'],
|
111
|
+
doc.find_first("/user/website").content,
|
112
|
+
doc.find_first("/user/created-at").content)
|
113
|
+
user
|
114
|
+
end
|
115
|
+
|
116
|
+
|
117
|
+
|
97
118
|
end
|
98
119
|
|
99
120
|
|
121
|
+
|
100
122
|
#
|
101
|
-
# Contains all available information about a workflow: _input_type_, _xml_uri_,
|
102
|
-
# _inputs_ and
|
103
|
-
#
|
104
|
-
#
|
123
|
+
# Contains all available information about a workflow: _input_type_, _xml_uri_,
|
124
|
+
# _title_, _description_,_inputs_, _outputs_ and _user_. The _xml_uri_ specifies
|
125
|
+
# the XML description on myExperiment and not the XML of the workflow itself.
|
126
|
+
# _input_type_ specifies the kind of input. Currently, either "myexperiment"
|
127
|
+
# (myExperiment's xml uri) or "t2flow" (filename)
|
105
128
|
#
|
106
129
|
class TavernaWorkflow
|
107
130
|
|
@@ -109,15 +132,16 @@ module MyExperimentREST
|
|
109
132
|
MY_EXPERIMENT = 'myexperiment'
|
110
133
|
T2_FLOW = 't2flow'
|
111
134
|
|
112
|
-
attr_reader(:input_type, :xml_uri, :title, :description, :inputs, :outputs)
|
135
|
+
attr_reader(:input_type, :xml_uri, :title, :description, :inputs, :outputs, :user)
|
113
136
|
|
114
|
-
def initialize(input_type, xml_uri, title, description, inputs, outputs)
|
137
|
+
def initialize(input_type, xml_uri, title, description, inputs, outputs, user)
|
115
138
|
@input_type = input_type
|
116
139
|
@xml_uri = xml_uri
|
117
140
|
@title = title
|
118
141
|
@description = description
|
119
142
|
@inputs = inputs
|
120
143
|
@outputs = outputs
|
144
|
+
@user = user
|
121
145
|
end
|
122
146
|
|
123
147
|
end
|
@@ -142,5 +166,25 @@ module MyExperimentREST
|
|
142
166
|
end
|
143
167
|
|
144
168
|
|
169
|
+
#
|
170
|
+
# Contains all available information about an input or output: name, descriptions
|
171
|
+
# and examples. The last two are lists.
|
172
|
+
#
|
173
|
+
class TavernaUser
|
174
|
+
attr_reader(:name, :description, :email, :avatar, :website, :created_at)
|
175
|
+
|
176
|
+
def initialize(name, description, email, avatar, website, created_at)
|
177
|
+
@name = name
|
178
|
+
@description = description
|
179
|
+
@email = email
|
180
|
+
@avatar = avatar
|
181
|
+
@website = website
|
182
|
+
@created_at = created_at
|
183
|
+
end
|
184
|
+
|
185
|
+
end
|
186
|
+
|
187
|
+
|
188
|
+
|
145
189
|
end
|
146
190
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: myexperiment-rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 8
|
10
|
+
version: 0.2.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Konstantinos Karasavvas
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-09-19 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rest-client
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ~>
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
hash: 9
|
29
29
|
segments:
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
hash: 5
|
45
45
|
segments:
|
@@ -67,54 +67,43 @@ files:
|
|
67
67
|
- bin/get_workflow_data.rb
|
68
68
|
- lib/myexperiment-rest.rb
|
69
69
|
- lib/myexperiment-rest/myexperiment_rest.rb
|
70
|
-
- doc/rdoc
|
71
|
-
- doc/
|
72
|
-
- doc/classes/TestReadWorkflow.html
|
73
|
-
- doc/classes/TestReadWorkflow.src/M000002.html
|
74
|
-
- doc/classes/TestReadWorkflow.src/M000001.html
|
75
|
-
- doc/classes/TestReadWorkflow.src/M000003.html
|
76
|
-
- doc/classes/TestReadWorkflow.src/M000004.html
|
77
|
-
- doc/classes/MyExperimentREST.html
|
78
|
-
- doc/classes/MyExperimentREST/TavernaWorkflow.src/M000006.html
|
79
|
-
- doc/classes/MyExperimentREST/TavernaWorkflow.src/M000005.html
|
80
|
-
- doc/classes/MyExperimentREST/ReadWorkflow.src/M000002.html
|
81
|
-
- doc/classes/MyExperimentREST/ReadWorkflow.src/M000005.html
|
82
|
-
- doc/classes/MyExperimentREST/TavernaIOData.src/M000006.html
|
83
|
-
- doc/classes/MyExperimentREST/TavernaIOData.src/M000007.html
|
84
|
-
- doc/classes/MyExperimentREST/Workflow.src/M000001.html
|
85
|
-
- doc/classes/MyExperimentREST/IOData.src/M000003.html
|
86
|
-
- doc/classes/MyExperimentREST/TavernaIOData.html
|
87
|
-
- doc/classes/MyExperimentREST/Workflows.html
|
88
|
-
- doc/classes/MyExperimentREST/TavernaWorkflow.html
|
89
|
-
- doc/classes/MyExperimentREST/Workflow.html
|
90
|
-
- doc/classes/MyExperimentREST/ReadWorkflow.html
|
91
|
-
- doc/classes/MyExperimentREST/Workflows.src/M000004.html
|
92
|
-
- doc/classes/MyExperimentREST/IOData.html
|
93
|
-
- doc/fr_class_index.html
|
94
|
-
- doc/index.html
|
95
|
-
- doc/files/test/test_read_workflow_rb.html
|
96
|
-
- doc/files/bin/get_workflow_data_rb.html
|
97
|
-
- doc/files/README.html
|
98
|
-
- doc/files/lib/myexperiment-rest/my_experiment_rest_rb.html
|
99
|
-
- doc/files/lib/myexperiment-rest/myexperiment_rest_rb.html
|
100
|
-
- doc/files/lib/myexperiment-rest_rb.html
|
101
|
-
- doc/fr_method_index.html
|
102
|
-
- doc/rdoc/rdoc-style.css
|
103
|
-
- doc/rdoc/fr_file_index.html
|
104
|
-
- doc/rdoc/classes/MyExperimentREST.html
|
105
|
-
- doc/rdoc/classes/MyExperimentREST/TavernaIOData.html
|
106
|
-
- doc/rdoc/classes/MyExperimentREST/Workflows.html
|
107
|
-
- doc/rdoc/classes/MyExperimentREST/TavernaWorkflow.html
|
108
|
-
- doc/rdoc/fr_class_index.html
|
70
|
+
- doc/rdoc/rdoc.css
|
71
|
+
- doc/rdoc/LICENSE.html
|
109
72
|
- doc/rdoc/index.html
|
110
|
-
- doc/rdoc/
|
111
|
-
- doc/rdoc/
|
112
|
-
- doc/rdoc/
|
113
|
-
- doc/rdoc/
|
114
|
-
- doc/rdoc/
|
115
|
-
- doc/rdoc/
|
73
|
+
- doc/rdoc/js/jquery.js
|
74
|
+
- doc/rdoc/js/thickbox-compressed.js
|
75
|
+
- doc/rdoc/js/darkfish.js
|
76
|
+
- doc/rdoc/js/quicksearch.js
|
77
|
+
- doc/rdoc/MyExperimentREST.html
|
78
|
+
- doc/rdoc/README.html
|
79
|
+
- doc/rdoc/lib/myexperiment-rest/myexperiment_rest_rb.html
|
80
|
+
- doc/rdoc/lib/myexperiment-rest_rb.html
|
116
81
|
- doc/rdoc/created.rid
|
117
|
-
- doc/
|
82
|
+
- doc/rdoc/CHANGES.html
|
83
|
+
- doc/rdoc/images/find.png
|
84
|
+
- doc/rdoc/images/bug.png
|
85
|
+
- doc/rdoc/images/bullet_toggle_minus.png
|
86
|
+
- doc/rdoc/images/wrench.png
|
87
|
+
- doc/rdoc/images/bullet_black.png
|
88
|
+
- doc/rdoc/images/macFFBgHack.png
|
89
|
+
- doc/rdoc/images/page_white_text.png
|
90
|
+
- doc/rdoc/images/ruby.png
|
91
|
+
- doc/rdoc/images/bullet_toggle_plus.png
|
92
|
+
- doc/rdoc/images/loadingAnimation.gif
|
93
|
+
- doc/rdoc/images/brick.png
|
94
|
+
- doc/rdoc/images/zoom.png
|
95
|
+
- doc/rdoc/images/tag_green.png
|
96
|
+
- doc/rdoc/images/page_green.png
|
97
|
+
- doc/rdoc/images/brick_link.png
|
98
|
+
- doc/rdoc/images/wrench_orange.png
|
99
|
+
- doc/rdoc/images/date.png
|
100
|
+
- doc/rdoc/images/page_white_width.png
|
101
|
+
- doc/rdoc/images/package.png
|
102
|
+
- doc/rdoc/images/plugin.png
|
103
|
+
- doc/rdoc/MyExperimentREST/TavernaUser.html
|
104
|
+
- doc/rdoc/MyExperimentREST/TavernaIOData.html
|
105
|
+
- doc/rdoc/MyExperimentREST/Workflows.html
|
106
|
+
- doc/rdoc/MyExperimentREST/TavernaWorkflow.html
|
118
107
|
homepage:
|
119
108
|
licenses: []
|
120
109
|
|
@@ -1,113 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Module: MyExperimentREST</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Module</strong></td>
|
53
|
-
<td class="class-name-in-header">MyExperimentREST</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../files/lib/myexperiment-rest/myexperiment_rest_rb.html">
|
59
|
-
lib/myexperiment-rest/myexperiment_rest.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
</table>
|
66
|
-
</div>
|
67
|
-
<!-- banner header -->
|
68
|
-
|
69
|
-
<div id="bodyContent">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
<div id="contextContent">
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
</div>
|
78
|
-
|
79
|
-
|
80
|
-
</div>
|
81
|
-
|
82
|
-
|
83
|
-
<!-- if includes -->
|
84
|
-
|
85
|
-
<div id="section">
|
86
|
-
|
87
|
-
<div id="class-list">
|
88
|
-
<h3 class="section-bar">Classes and Modules</h3>
|
89
|
-
|
90
|
-
Class <a href="MyExperimentREST/TavernaIOData.html" class="link">MyExperimentREST::TavernaIOData</a><br />
|
91
|
-
Class <a href="MyExperimentREST/TavernaWorkflow.html" class="link">MyExperimentREST::TavernaWorkflow</a><br />
|
92
|
-
Class <a href="MyExperimentREST/Workflows.html" class="link">MyExperimentREST::Workflows</a><br />
|
93
|
-
|
94
|
-
</div>
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
<!-- if method_list -->
|
103
|
-
|
104
|
-
|
105
|
-
</div>
|
106
|
-
|
107
|
-
|
108
|
-
<div id="validator-badges">
|
109
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
110
|
-
</div>
|
111
|
-
|
112
|
-
</body>
|
113
|
-
</html>
|
@@ -1,169 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: MyExperimentREST::IOData</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">MyExperimentREST::IOData</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/myexperiment-rest/my_experiment_rest_rb.html">
|
59
|
-
lib/myexperiment-rest/my_experiment_rest.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
<div id="description">
|
82
|
-
<p>
|
83
|
-
Contains all available information about an input or output: name,
|
84
|
-
descriptions and examples. The last two are lists. Currently both inputs
|
85
|
-
and outputs contain the same information. If that changes we can separate
|
86
|
-
them.
|
87
|
-
</p>
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
<div id="method-list">
|
95
|
-
<h3 class="section-bar">Methods</h3>
|
96
|
-
|
97
|
-
<div class="name-list">
|
98
|
-
<a href="#M000003">new</a>
|
99
|
-
</div>
|
100
|
-
</div>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
<!-- if includes -->
|
106
|
-
|
107
|
-
<div id="section">
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
<div id="attribute-list">
|
114
|
-
<h3 class="section-bar">Attributes</h3>
|
115
|
-
|
116
|
-
<div class="name-list">
|
117
|
-
<table>
|
118
|
-
<tr class="top-aligned-row context-row">
|
119
|
-
<td class="context-item-name">descriptions</td>
|
120
|
-
<td class="context-item-value"> [R] </td>
|
121
|
-
<td class="context-item-desc"></td>
|
122
|
-
</tr>
|
123
|
-
<tr class="top-aligned-row context-row">
|
124
|
-
<td class="context-item-name">examples</td>
|
125
|
-
<td class="context-item-value"> [R] </td>
|
126
|
-
<td class="context-item-desc"></td>
|
127
|
-
</tr>
|
128
|
-
<tr class="top-aligned-row context-row">
|
129
|
-
<td class="context-item-name">name</td>
|
130
|
-
<td class="context-item-value"> [R] </td>
|
131
|
-
<td class="context-item-desc"></td>
|
132
|
-
</tr>
|
133
|
-
</table>
|
134
|
-
</div>
|
135
|
-
</div>
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<!-- if method_list -->
|
140
|
-
<div id="methods">
|
141
|
-
<h3 class="section-bar">Public Class methods</h3>
|
142
|
-
|
143
|
-
<div id="method-M000003" class="method-detail">
|
144
|
-
<a name="M000003"></a>
|
145
|
-
|
146
|
-
<div class="method-heading">
|
147
|
-
<a href="IOData.src/M000003.html" target="Code" class="method-signature"
|
148
|
-
onclick="popupCode('IOData.src/M000003.html');return false;">
|
149
|
-
<span class="method-name">new</span><span class="method-args">(name, descriptions, examples)</span>
|
150
|
-
</a>
|
151
|
-
</div>
|
152
|
-
|
153
|
-
<div class="method-description">
|
154
|
-
</div>
|
155
|
-
</div>
|
156
|
-
|
157
|
-
|
158
|
-
</div>
|
159
|
-
|
160
|
-
|
161
|
-
</div>
|
162
|
-
|
163
|
-
|
164
|
-
<div id="validator-badges">
|
165
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
166
|
-
</div>
|
167
|
-
|
168
|
-
</body>
|
169
|
-
</html>
|