mack-data_factory 0.6.1.1 → 0.6.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/doc/classes/Kernel.html +207 -0
  2. data/doc/classes/Mack.html +143 -0
  3. data/doc/classes/Mack/Data/Bridge.html +269 -0
  4. data/doc/classes/Mack/Data/Factory.html +171 -0
  5. data/doc/classes/Mack/Data/Factory/ClassMethods.html +262 -0
  6. data/doc/classes/Mack/Data/Factory/FieldContentGenerator.html +666 -0
  7. data/doc/classes/Mack/Data/Field.html +267 -0
  8. data/doc/classes/Mack/Data/FieldMgr.html +217 -0
  9. data/doc/classes/Mack/Data/OrmBridge/ActiveRecord.html +267 -0
  10. data/doc/classes/Mack/Data/OrmBridge/DataMapper.html +267 -0
  11. data/doc/classes/Mack/Data/OrmBridge/Default.html +266 -0
  12. data/doc/created.rid +1 -0
  13. data/doc/files/README.html +107 -0
  14. data/doc/files/lib/mack-data_factory/content_generator_rb.html +101 -0
  15. data/doc/files/lib/mack-data_factory/core_extensions/kernel_rb.html +101 -0
  16. data/doc/files/lib/mack-data_factory/data_factory_rb.html +101 -0
  17. data/doc/files/lib/mack-data_factory/field_manager_rb.html +101 -0
  18. data/doc/files/lib/mack-data_factory/field_rb.html +101 -0
  19. data/doc/files/lib/mack-data_factory/orm_api_bridge/bridge_rb.html +101 -0
  20. data/doc/files/lib/mack-data_factory/orm_api_bridge/orm/active_record_rb.html +101 -0
  21. data/doc/files/lib/mack-data_factory/orm_api_bridge/orm/data_mapper_rb.html +101 -0
  22. data/doc/files/lib/mack-data_factory/orm_api_bridge/orm/default_rb.html +101 -0
  23. data/doc/files/lib/mack-data_factory_rb.html +108 -0
  24. data/doc/fr_class_index.html +42 -0
  25. data/doc/fr_file_index.html +37 -0
  26. data/doc/fr_method_index.html +78 -0
  27. data/doc/index.html +24 -0
  28. data/doc/rdoc-style.css +208 -0
  29. metadata +30 -2
@@ -0,0 +1,207 @@
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: Kernel</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">Kernel</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/mack-data_factory/core_extensions/kernel_rb.html">
59
+ lib/mack-data_factory/core_extensions/kernel.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
+ <div id="method-list">
80
+ <h3 class="section-bar">Methods</h3>
81
+
82
+ <div class="name-list">
83
+ <a href="#M000051">factories</a>&nbsp;&nbsp;
84
+ <a href="#M000052">run_factories</a>&nbsp;&nbsp;
85
+ </div>
86
+ </div>
87
+
88
+ </div>
89
+
90
+
91
+ <!-- if includes -->
92
+
93
+ <div id="section">
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <!-- if method_list -->
103
+ <div id="methods">
104
+ <h3 class="section-bar">Public Instance methods</h3>
105
+
106
+ <div id="method-M000051" class="method-detail">
107
+ <a name="M000051"></a>
108
+
109
+ <div class="method-heading">
110
+ <a href="#M000051" class="method-signature">
111
+ <span class="method-name">factories</span><span class="method-args">(tag, &amp;block)</span>
112
+ </a>
113
+ </div>
114
+
115
+ <div class="method-description">
116
+ <p>
117
+ Convenient routine to create an execution chain of <a
118
+ href="Kernel.html#M000051">factories</a>
119
+ </p>
120
+ <p>
121
+ Example:
122
+ </p>
123
+ <pre>
124
+ factories(:foo) do
125
+ UserFactory.create(1)
126
+ UserFactory.create(2, :diff_firstname)
127
+ end
128
+ </pre>
129
+ <p>
130
+ Then to execute the chains, you&#8216;ll need to call <a
131
+ href="Kernel.html#M000052">run_factories</a>, and pass in the name of the
132
+ chain you want to execute.
133
+ </p>
134
+ <p>
135
+ Example:
136
+ </p>
137
+ <pre>
138
+ run_factories(:foo)
139
+ </pre>
140
+ <p>
141
+ @tag &#8212; the name of the factory chain @block &#8212; the proc to be
142
+ executed later
143
+ </p>
144
+ <p><a class="source-toggle" href="#"
145
+ onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
146
+ <div class="method-source-code" id="M000051-source">
147
+ <pre>
148
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/core_extensions/kernel.rb, line 28</span>
149
+ 28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">factories</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
150
+ 29: <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;factories: block needed&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">block_given?</span>
151
+ 30: <span class="ruby-identifier">fact_registry</span>.<span class="ruby-identifier">add</span>(<span class="ruby-identifier">tag</span>, <span class="ruby-identifier">block</span>)
152
+ 31: <span class="ruby-keyword kw">end</span>
153
+ </pre>
154
+ </div>
155
+ </div>
156
+ </div>
157
+
158
+ <div id="method-M000052" class="method-detail">
159
+ <a name="M000052"></a>
160
+
161
+ <div class="method-heading">
162
+ <a href="#M000052" class="method-signature">
163
+ <span class="method-name">run_factories</span><span class="method-args">(tag)</span>
164
+ </a>
165
+ </div>
166
+
167
+ <div class="method-description">
168
+ <p>
169
+ Run defined factory chain
170
+ </p>
171
+ <p>
172
+ @see <a href="Kernel.html#M000051">factories</a> @tag &#8212; the name of
173
+ the factory chain to be run @return true if successful, false otherwise
174
+ </p>
175
+ <p><a class="source-toggle" href="#"
176
+ onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
177
+ <div class="method-source-code" id="M000052-source">
178
+ <pre>
179
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/core_extensions/kernel.rb, line 39</span>
180
+ 39: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">run_factories</span>(<span class="ruby-identifier">tag</span>)
181
+ 40: <span class="ruby-identifier">runners</span> = <span class="ruby-identifier">fact_registry</span>.<span class="ruby-identifier">registered_items</span>[<span class="ruby-identifier">tag</span>]
182
+ 41: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">runners</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
183
+ 42:
184
+ 43: <span class="ruby-identifier">runners</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span>
185
+ 44: <span class="ruby-identifier">r</span>.<span class="ruby-identifier">call</span>
186
+ 45: <span class="ruby-keyword kw">end</span>
187
+ 46:
188
+ 47: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
189
+ 48: <span class="ruby-keyword kw">end</span>
190
+ </pre>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+
196
+ </div>
197
+
198
+
199
+ </div>
200
+
201
+
202
+ <div id="validator-badges">
203
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
204
+ </div>
205
+
206
+ </body>
207
+ </html>
@@ -0,0 +1,143 @@
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: Mack</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">Mack</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../files/lib/mack-data_factory/content_generator_rb.html">
59
+ lib/mack-data_factory/content_generator.rb
60
+ </a>
61
+ <br />
62
+ <a href="../files/lib/mack-data_factory/core_extensions/kernel_rb.html">
63
+ lib/mack-data_factory/core_extensions/kernel.rb
64
+ </a>
65
+ <br />
66
+ <a href="../files/lib/mack-data_factory/data_factory_rb.html">
67
+ lib/mack-data_factory/data_factory.rb
68
+ </a>
69
+ <br />
70
+ <a href="../files/lib/mack-data_factory/field_rb.html">
71
+ lib/mack-data_factory/field.rb
72
+ </a>
73
+ <br />
74
+ <a href="../files/lib/mack-data_factory/field_manager_rb.html">
75
+ lib/mack-data_factory/field_manager.rb
76
+ </a>
77
+ <br />
78
+ <a href="../files/lib/mack-data_factory/orm_api_bridge/bridge_rb.html">
79
+ lib/mack-data_factory/orm_api_bridge/bridge.rb
80
+ </a>
81
+ <br />
82
+ <a href="../files/lib/mack-data_factory/orm_api_bridge/orm/active_record_rb.html">
83
+ lib/mack-data_factory/orm_api_bridge/orm/active_record.rb
84
+ </a>
85
+ <br />
86
+ <a href="../files/lib/mack-data_factory/orm_api_bridge/orm/data_mapper_rb.html">
87
+ lib/mack-data_factory/orm_api_bridge/orm/data_mapper.rb
88
+ </a>
89
+ <br />
90
+ <a href="../files/lib/mack-data_factory/orm_api_bridge/orm/default_rb.html">
91
+ lib/mack-data_factory/orm_api_bridge/orm/default.rb
92
+ </a>
93
+ <br />
94
+ </td>
95
+ </tr>
96
+
97
+ </table>
98
+ </div>
99
+ <!-- banner header -->
100
+
101
+ <div id="bodyContent">
102
+
103
+
104
+
105
+ <div id="contextContent">
106
+
107
+
108
+
109
+ </div>
110
+
111
+
112
+ </div>
113
+
114
+
115
+ <!-- if includes -->
116
+
117
+ <div id="section">
118
+
119
+ <div id="class-list">
120
+ <h3 class="section-bar">Classes and Modules</h3>
121
+
122
+ Module <a href="Mack/Data.html" class="link">Mack::Data</a><br />
123
+
124
+ </div>
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+ <!-- if method_list -->
133
+
134
+
135
+ </div>
136
+
137
+
138
+ <div id="validator-badges">
139
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
140
+ </div>
141
+
142
+ </body>
143
+ </html>
@@ -0,0 +1,269 @@
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: Mack::Data::Bridge</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">Mack::Data::Bridge</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../../files/lib/mack-data_factory/orm_api_bridge/bridge_rb.html">
59
+ lib/mack-data_factory/orm_api_bridge/bridge.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
+
82
+
83
+ </div>
84
+
85
+ <div id="method-list">
86
+ <h3 class="section-bar">Methods</h3>
87
+
88
+ <div class="name-list">
89
+ <a href="#M000049">count</a>&nbsp;&nbsp;
90
+ <a href="#M000046">get</a>&nbsp;&nbsp;
91
+ <a href="#M000047">get_all</a>&nbsp;&nbsp;
92
+ <a href="#M000048">get_first</a>&nbsp;&nbsp;
93
+ <a href="#M000045">new</a>&nbsp;&nbsp;
94
+ <a href="#M000050">save</a>&nbsp;&nbsp;
95
+ </div>
96
+ </div>
97
+
98
+ </div>
99
+
100
+
101
+ <!-- if includes -->
102
+
103
+ <div id="section">
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <!-- if method_list -->
113
+ <div id="methods">
114
+ <h3 class="section-bar">Public Class methods</h3>
115
+
116
+ <div id="method-M000045" class="method-detail">
117
+ <a name="M000045"></a>
118
+
119
+ <div class="method-heading">
120
+ <a href="#M000045" class="method-signature">
121
+ <span class="method-name">new</span><span class="method-args">()</span>
122
+ </a>
123
+ </div>
124
+
125
+ <div class="method-description">
126
+ <p><a class="source-toggle" href="#"
127
+ onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
128
+ <div class="method-source-code" id="M000045-source">
129
+ <pre>
130
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/bridge.rb, line 9</span>
131
+ 9: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
132
+ 10: <span class="ruby-constant">OrmRegistry</span>.<span class="ruby-identifier">add</span>(<span class="ruby-constant">Mack</span><span class="ruby-operator">::</span><span class="ruby-constant">Data</span><span class="ruby-operator">::</span><span class="ruby-constant">OrmBridge</span><span class="ruby-operator">::</span><span class="ruby-constant">ActiveRecord</span>.<span class="ruby-identifier">new</span>)
133
+ 11: <span class="ruby-constant">OrmRegistry</span>.<span class="ruby-identifier">add</span>(<span class="ruby-constant">Mack</span><span class="ruby-operator">::</span><span class="ruby-constant">Data</span><span class="ruby-operator">::</span><span class="ruby-constant">OrmBridge</span><span class="ruby-operator">::</span><span class="ruby-constant">DataMapper</span>.<span class="ruby-identifier">new</span>)
134
+ 12: <span class="ruby-keyword kw">end</span>
135
+ </pre>
136
+ </div>
137
+ </div>
138
+ </div>
139
+
140
+ <h3 class="section-bar">Public Instance methods</h3>
141
+
142
+ <div id="method-M000049" class="method-detail">
143
+ <a name="M000049"></a>
144
+
145
+ <div class="method-heading">
146
+ <a href="#M000049" class="method-signature">
147
+ <span class="method-name">count</span><span class="method-args">(obj, *args)</span>
148
+ </a>
149
+ </div>
150
+
151
+ <div class="method-description">
152
+ <p><a class="source-toggle" href="#"
153
+ onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
154
+ <div class="method-source-code" id="M000049-source">
155
+ <pre>
156
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/bridge.rb, line 26</span>
157
+ 26: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">count</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
158
+ 27: <span class="ruby-identifier">handler</span>(<span class="ruby-identifier">obj</span>).<span class="ruby-identifier">count</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
159
+ 28: <span class="ruby-keyword kw">end</span>
160
+ </pre>
161
+ </div>
162
+ </div>
163
+ </div>
164
+
165
+ <div id="method-M000046" class="method-detail">
166
+ <a name="M000046"></a>
167
+
168
+ <div class="method-heading">
169
+ <a href="#M000046" class="method-signature">
170
+ <span class="method-name">get</span><span class="method-args">(obj, *args)</span>
171
+ </a>
172
+ </div>
173
+
174
+ <div class="method-description">
175
+ <p><a class="source-toggle" href="#"
176
+ onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
177
+ <div class="method-source-code" id="M000046-source">
178
+ <pre>
179
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/bridge.rb, line 14</span>
180
+ 14: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
181
+ 15: <span class="ruby-identifier">handler</span>(<span class="ruby-identifier">obj</span>).<span class="ruby-identifier">get</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
182
+ 16: <span class="ruby-keyword kw">end</span>
183
+ </pre>
184
+ </div>
185
+ </div>
186
+ </div>
187
+
188
+ <div id="method-M000047" class="method-detail">
189
+ <a name="M000047"></a>
190
+
191
+ <div class="method-heading">
192
+ <a href="#M000047" class="method-signature">
193
+ <span class="method-name">get_all</span><span class="method-args">(obj, *args)</span>
194
+ </a>
195
+ </div>
196
+
197
+ <div class="method-description">
198
+ <p><a class="source-toggle" href="#"
199
+ onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
200
+ <div class="method-source-code" id="M000047-source">
201
+ <pre>
202
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/bridge.rb, line 18</span>
203
+ 18: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_all</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
204
+ 19: <span class="ruby-identifier">handler</span>(<span class="ruby-identifier">obj</span>).<span class="ruby-identifier">get_all</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
205
+ 20: <span class="ruby-keyword kw">end</span>
206
+ </pre>
207
+ </div>
208
+ </div>
209
+ </div>
210
+
211
+ <div id="method-M000048" class="method-detail">
212
+ <a name="M000048"></a>
213
+
214
+ <div class="method-heading">
215
+ <a href="#M000048" class="method-signature">
216
+ <span class="method-name">get_first</span><span class="method-args">(obj, *args)</span>
217
+ </a>
218
+ </div>
219
+
220
+ <div class="method-description">
221
+ <p><a class="source-toggle" href="#"
222
+ onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
223
+ <div class="method-source-code" id="M000048-source">
224
+ <pre>
225
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/bridge.rb, line 22</span>
226
+ 22: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_first</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
227
+ 23: <span class="ruby-identifier">handler</span>(<span class="ruby-identifier">obj</span>).<span class="ruby-identifier">get_first</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
228
+ 24: <span class="ruby-keyword kw">end</span>
229
+ </pre>
230
+ </div>
231
+ </div>
232
+ </div>
233
+
234
+ <div id="method-M000050" class="method-detail">
235
+ <a name="M000050"></a>
236
+
237
+ <div class="method-heading">
238
+ <a href="#M000050" class="method-signature">
239
+ <span class="method-name">save</span><span class="method-args">(obj, *args)</span>
240
+ </a>
241
+ </div>
242
+
243
+ <div class="method-description">
244
+ <p><a class="source-toggle" href="#"
245
+ onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
246
+ <div class="method-source-code" id="M000050-source">
247
+ <pre>
248
+ <span class="ruby-comment cmt"># File lib/mack-data_factory/orm_api_bridge/bridge.rb, line 30</span>
249
+ 30: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
250
+ 31: <span class="ruby-identifier">handler</span>(<span class="ruby-identifier">obj</span>).<span class="ruby-identifier">save</span>(<span class="ruby-identifier">obj</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
251
+ 32: <span class="ruby-keyword kw">end</span>
252
+ </pre>
253
+ </div>
254
+ </div>
255
+ </div>
256
+
257
+
258
+ </div>
259
+
260
+
261
+ </div>
262
+
263
+
264
+ <div id="validator-badges">
265
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
266
+ </div>
267
+
268
+ </body>
269
+ </html>