csv2hash 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -5
  3. data/.yardoc/checksums +25 -0
  4. data/.yardoc/object_types +0 -0
  5. data/.yardoc/objects/root.dat +0 -0
  6. data/.yardoc/proxy_types +0 -0
  7. data/CHANGELOG.md +8 -0
  8. data/Gemfile +6 -0
  9. data/Gemfile.lock +15 -1
  10. data/README.md +32 -4
  11. data/UPGRADE.md +2 -0
  12. data/bin/generate_doc +3 -0
  13. data/config/example.csv +10 -0
  14. data/config/rules.yml +7 -0
  15. data/doc/Cell.html +282 -0
  16. data/doc/Csv2hash/Adapter/Abstract.html +215 -0
  17. data/doc/Csv2hash/Adapter/Base/UnsupportedAdapter.html +123 -0
  18. data/doc/Csv2hash/Adapter/Base.html +201 -0
  19. data/doc/Csv2hash/Adapter/CsvAdapter.html +348 -0
  20. data/doc/Csv2hash/Adapter/MemoryAdapter.html +348 -0
  21. data/doc/Csv2hash/Adapter.html +117 -0
  22. data/doc/Csv2hash/DataWrapper.html +500 -0
  23. data/doc/Csv2hash/Definition.html +1008 -0
  24. data/doc/Csv2hash/Discover.html +192 -0
  25. data/doc/Csv2hash/Expectation.html +202 -0
  26. data/doc/Csv2hash/ExtraValidator.html +207 -0
  27. data/doc/Csv2hash/Main.html +1298 -0
  28. data/doc/Csv2hash/Notifier.html +189 -0
  29. data/doc/Csv2hash/Parser/Collection.html +283 -0
  30. data/doc/Csv2hash/Parser/Mapping.html +266 -0
  31. data/doc/Csv2hash/Parser.html +121 -0
  32. data/doc/Csv2hash/StructureValidator/Deprecation.html +215 -0
  33. data/doc/Csv2hash/StructureValidator/MaxColumns.html +327 -0
  34. data/doc/Csv2hash/StructureValidator/MinColumns.html +327 -0
  35. data/doc/Csv2hash/StructureValidator/ValidationError.html +123 -0
  36. data/doc/Csv2hash/StructureValidator/Validator.html +184 -0
  37. data/doc/Csv2hash/StructureValidator.html +311 -0
  38. data/doc/Csv2hash/Validator/Collection.html +217 -0
  39. data/doc/Csv2hash/Validator/Mapping.html +200 -0
  40. data/doc/Csv2hash/Validator.html +295 -0
  41. data/doc/Csv2hash.html +131 -0
  42. data/doc/CsvArray.html +200 -0
  43. data/doc/Registry.html +312 -0
  44. data/doc/_index.html +391 -0
  45. data/doc/class_list.html +54 -0
  46. data/doc/css/common.css +1 -0
  47. data/doc/css/full_list.css +57 -0
  48. data/doc/css/style.css +339 -0
  49. data/doc/file.README.html +499 -0
  50. data/doc/file_list.html +56 -0
  51. data/doc/frames.html +26 -0
  52. data/doc/index.html +499 -0
  53. data/doc/js/app.js +219 -0
  54. data/doc/js/full_list.js +178 -0
  55. data/doc/js/jquery.js +4 -0
  56. data/doc/method_list.html +473 -0
  57. data/doc/top-level-namespace.html +114 -0
  58. data/lib/csv2hash/definition.rb +3 -3
  59. data/lib/csv2hash/version.rb +1 -1
  60. data/lib/csv2hash/yaml_loader.rb +33 -0
  61. data/lib/csv2hash.rb +28 -8
  62. data/spec/csv2hash/yaml_loader_spec.rb +20 -0
  63. data/spec/csv2hash_spec.rb +13 -10
  64. metadata +56 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cff06b049e0b90d0627bced7665e5212667a128
4
- data.tar.gz: 6aaf21e5a862915914813ee0d65495b04f041fc1
3
+ metadata.gz: 763bd19e8a4c55292deba925bca3266d50ce44af
4
+ data.tar.gz: e0fe38ce2de6f34abaf8b7f3fb8ce51b54e73a60
5
5
  SHA512:
6
- metadata.gz: 1951755e2eda195942d6abaacaff5b2bf859a3e46e5f36160640dc3035ff1f9e81e903f991fb81e8b8cc29b3d4046766183b8f983fe244e774b05e1381c8d934
7
- data.tar.gz: f7ab7b90d43cbec0a3379ec8461b9a41f45c3152d90c3e8106bd01275a53d98ed81b68cdf0bd3581ada17e97d4c75febf98491aebeb23fbaf5036ad766023772
6
+ metadata.gz: 59071b838f3d2409999aa0b606312f2bdbacf9f4f4dd347698978fdd9e3f80a8f10be3ce0d1bd228e628df92bf90ee3cf58ef2df7b2ba5c0fb5216f85b5c4ff0
7
+ data.tar.gz: cbcb3eb38554c9c4299eaef053ef0b53e3734adbf75ba8d1506e4d75ff6fbebc59d995d3ea608922ce9ee4a500dfa7b9ef98e2d79099b3ecda6f0528b89ef41c
data/.gitignore CHANGED
@@ -3,8 +3,5 @@
3
3
  private.notes
4
4
  *.gem
5
5
  bundler/
6
-
7
-
8
- coverage/.last_run.json
9
-
10
- coverage/.resultset.json
6
+ doc/
7
+ coverage/
data/.yardoc/checksums ADDED
@@ -0,0 +1,25 @@
1
+ lib/csv2hash.rb c17e63884b6cd284a96802d3ac15cb7d6246868b
2
+ lib/csv2hash/cell.rb 71edefa202ba574ddfffb1b202f25e2a3d23f56a
3
+ lib/csv2hash/parser.rb c9718cc9fc80ae36b3f360b064f0dbff1d16f0a3
4
+ lib/csv2hash/version.rb ba10692f082f4c0a90e5a89db1ba60993d9fdf8c
5
+ lib/csv2hash/discover.rb 21d7f1e795c954fadfee4394471af2c75acd1e5c
6
+ lib/csv2hash/notifier.rb 2614b982ed1383e083f3d1ef86d02cd46ea7d507
7
+ lib/csv2hash/registry.rb 1c17677d3721f927bb6884ef3cbf1ab11d12384c
8
+ lib/csv2hash/csv_array.rb d44c8702ba6b24c557804f1607de552a9e447ab1
9
+ lib/csv2hash/validator.rb 6f68b643f84f9391e05d8db6f8d310d606a5bc9d
10
+ lib/csv2hash/definition.rb a2dd447310f8b0400ddb612c662e92d0ad005560
11
+ lib/csv2hash/expectation.rb c2f1247ea999c76fb1e62887451b5deba8c072f9
12
+ lib/csv2hash/data_wrapper.rb 5ebee4e51e99b870c7f39f0082ced26127e8c7db
13
+ lib/csv2hash/adapters/base.rb bfb6ac778a0cc1530f797f7c98b1df3074af4936
14
+ lib/csv2hash/parser/mapping.rb 1c15e5212ccc276b68cfbd372c703e3689316922
15
+ lib/csv2hash/extra_validator.rb 2de7155cd880f1229eb4ede2d5ffdf241e89fd51
16
+ lib/csv2hash/parser/collection.rb 1752470202bb3787b447ff0dd5409ade0265d1c1
17
+ lib/csv2hash/adapters/abstract.rb d4d51b22334c7fea27e8e708f8686b680ea8acac
18
+ lib/csv2hash/validator/mapping.rb 22e880c814d8e5d3185af00bc0d66c6f651879b7
19
+ lib/csv2hash/structure_validator.rb 8b1f27a2cbe9cdb0f9a8d6e5f40d6ebc8467f919
20
+ lib/csv2hash/adapters/csv_adapter.rb 6a83d23e366a5210558adf665d8fa997bcf087fa
21
+ lib/csv2hash/validator/collection.rb 309bc2ad5a2e687159a1f4854d99efe3ef2903fe
22
+ lib/csv2hash/adapters/memory_adapter.rb 04db65527e1ba8f50a6237c1de6f682124ae1cee
23
+ lib/csv2hash/structure_validator/max_columns.rb 64e7804a43253eb31c44a5f3ecf52c23ac7bdfc2
24
+ lib/csv2hash/structure_validator/min_columns.rb f56c22be1b946e1e2fa8a6108495c6aa126dcb2f
25
+ lib/csv2hash/structure_validator/deprecation.rb c19df994b3defcd795a5f3eb638525bc60f47ad0
Binary file
Binary file
Binary file
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### VERSION 0.6.3
2
+
3
+ * refactoring
4
+ * The Main constructor can be take in first arg a definition itself or simply the path of yaml file definition or just symbol of name of definition (when it have already loaded)
5
+
6
+ * feature
7
+ * add yml loader
8
+
1
9
  ### VERSION 0.6.2
2
10
 
3
11
  * feature
data/Gemfile CHANGED
@@ -6,3 +6,9 @@ group :test do
6
6
  gem 'coveralls', require: false
7
7
  gem 'pry'
8
8
  end
9
+
10
+ group :doc do
11
+ gem 'yard-tomdoc'
12
+ gem 'yard'
13
+ gem 'inch', require: false # https://github.com/rrrene/inch
14
+ end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- csv2hash (0.6.2)
4
+ csv2hash (0.6.3)
5
5
  activesupport (~> 4.1)
6
6
 
7
7
  GEM
@@ -23,6 +23,11 @@ GEM
23
23
  diff-lcs (1.2.5)
24
24
  docile (1.1.5)
25
25
  i18n (0.6.11)
26
+ inch (0.4.10)
27
+ pry
28
+ sparkr (>= 0.2.0)
29
+ term-ansicolor
30
+ yard (~> 0.8.7)
26
31
  its (0.2.0)
27
32
  rspec-core
28
33
  json (1.8.1)
@@ -57,13 +62,19 @@ GEM
57
62
  simplecov-html (~> 0.8.0)
58
63
  simplecov-html (0.8.0)
59
64
  slop (3.6.0)
65
+ sparkr (0.4.1)
60
66
  term-ansicolor (1.3.0)
61
67
  tins (~> 1.0)
62
68
  thor (0.19.1)
63
69
  thread_safe (0.3.4)
64
70
  tins (1.3.2)
71
+ tomparse (0.4.2)
65
72
  tzinfo (1.2.2)
66
73
  thread_safe (~> 0.1)
74
+ yard (0.8.7.4)
75
+ yard-tomdoc (0.7.1)
76
+ tomparse (>= 0.4.0)
77
+ yard
67
78
 
68
79
  PLATFORMS
69
80
  ruby
@@ -72,7 +83,10 @@ DEPENDENCIES
72
83
  bundler (~> 1.6)
73
84
  coveralls
74
85
  csv2hash!
86
+ inch
75
87
  its (~> 0.2)
76
88
  pry
77
89
  rake (~> 10.3)
78
90
  rspec (~> 3.0)
91
+ yard
92
+ yard-tomdoc
data/README.md CHANGED
@@ -34,7 +34,7 @@ Parsing is based on rules, you should defined rule for each cells
34
34
  Csv2hash::Main.generate_definition :name do
35
35
  set_type { Definition::MAPPING }
36
36
  set_header_size { 2 } # 0 by default
37
- set_structure_rules {{ 'MaxColumns' => 2 }}
37
+ set_structure_rules {{ max_columns: 2 }}
38
38
  mapping do
39
39
  cell position: [0,0], key: 'gender'
40
40
  cell position: [1,0], key: 'name'
@@ -115,11 +115,13 @@ A definition should be provided. There are 2 types of definitions:
115
115
 
116
116
  Consider the following CSV:
117
117
 
118
+ ```
118
119
  | Fields | Person Informations | Optional |
119
120
  |-------------|----------------------|----------|
120
121
  | Nickname | jo | no |
121
122
  | First Name | John | yes |
122
123
  | Last Name | Doe | yes |
124
+ ```
123
125
 
124
126
  Precise position validation sample:
125
127
 
@@ -133,7 +135,7 @@ Precise position validation sample:
133
135
  end
134
136
 
135
137
  def data
136
- @data_wrapper ||= Csv2hash::Main.new(Csv2hash::Main[:<definition_name>], file_path_or_data).parse
138
+ @data_wrapper ||= Csv2hash::Main.new(:<definition_name>, file_path_or_data).parse
137
139
  end
138
140
 
139
141
  private
@@ -157,6 +159,7 @@ Precise position validation sample:
157
159
 
158
160
  This is a special feature for finding the Y index of row where you data start. For instance you have this following data :
159
161
 
162
+ ```
160
163
  |---------------|---------------|------|-----|
161
164
  | Nickname | jo | | |
162
165
  | First Name | John | | |
@@ -168,6 +171,7 @@ This is a special feature for finding the Y index of row where you data start. F
168
171
  | | Personal info | Age | 26 |
169
172
  | | Sex | Male | |
170
173
  | | | | |
174
+ ```
171
175
 
172
176
  You want extract `Employment` information and `Personal info` but we do not know if extra information will not come and break our index. This feature can be useful is this case.
173
177
 
@@ -187,10 +191,12 @@ became
187
191
 
188
192
  Consider the following CSV:
189
193
 
194
+ ```
190
195
  | Nickname | First Name | Last Name |
191
196
  |----------|------------|-----------|
192
197
  | jo | John | Doe |
193
198
  | ja | Jane | Doe |
199
+ ```
194
200
 
195
201
  Collection validation sample:
196
202
 
@@ -204,7 +210,7 @@ Collection validation sample:
204
210
  end
205
211
 
206
212
  def data
207
- @data_wrapper ||= Csv2hash::Main.new(Csv2hash::Main[:<definition_name>], file_path_or_data).parse
213
+ @data_wrapper ||= Csv2hash::Main.new(:<definition_name>, file_path_or_data).parse
208
214
  end
209
215
 
210
216
  private
@@ -244,7 +250,7 @@ Current validations are: :min_columns, :max_columns
244
250
  end
245
251
 
246
252
  def data
247
- @data_wrapper ||= Csv2hash::Main.new(Csv2hash::Main[:<definition_name>], file_path_or_data).parse
253
+ @data_wrapper ||= Csv2hash::Main.new(:<definition_name>, file_path_or_data).parse
248
254
  end
249
255
 
250
256
  private
@@ -361,9 +367,11 @@ errors is a Array of Hash
361
367
 
362
368
  ### Csv data
363
369
 
370
+ ```
364
371
  | Fields | Person Informations |
365
372
  |-------------|----------------------|
366
373
  | Nickname | nil |
374
+ ```
367
375
 
368
376
  ### Rule
369
377
 
@@ -404,6 +412,20 @@ Csv data
404
412
  [ [ 'Foo' ] ]
405
413
  ```
406
414
 
415
+ # Config file
416
+
417
+ You can defined rules into a yaml file
418
+
419
+ ```
420
+ name: 'example'
421
+ mapping: 'mapping'
422
+ header_size: 2
423
+ structure_rules: { max_columns: 20 }
424
+ rules:
425
+ - { position: [1,1], key: 'first_name' }
426
+ - { position: [2,1], key: 'first_name' }
427
+ ```
428
+
407
429
  # Changes
408
430
 
409
431
  please refere to [CHANGELOG.md](https://github.com/FinalCAD/csv2hash/blob/master/CHANGELOG.md) doc
@@ -412,6 +434,12 @@ please refere to [CHANGELOG.md](https://github.com/FinalCAD/csv2hash/blob/master
412
434
 
413
435
  please refere to [UPGRADE.md](https://github.com/FinalCAD/csv2hash/blob/master/UPGRADE.md) doc
414
436
 
437
+ # Yard doc
438
+
439
+ ```
440
+ bundle exec yard --plugin tomdoc
441
+ ```
442
+
415
443
  ## Contributing
416
444
 
417
445
  1. Fork it
data/UPGRADE.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Upgrading
2
2
 
3
+ # Upgrading from 0.6.2 to 0.6.3
4
+
3
5
  # Upgrading from 0.6.1 to 0.6.2
4
6
 
5
7
  nothing
data/bin/generate_doc ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env bash
2
+
3
+ bundle exec yard --plugin tomdoc && open doc/index.html
@@ -0,0 +1,10 @@
1
+ Nickname,jo,,,
2
+ FirstName,John,,,
3
+ LastName,Doe,,,
4
+ ,,,,
5
+ Employment,CEO,,,
6
+ Post,Doe,,,
7
+ ,,,,
8
+ ,Personal info,Age,26,
9
+ ,Sex,Mal,,
10
+ ,,,,
data/config/rules.yml ADDED
@@ -0,0 +1,7 @@
1
+ name: 'example'
2
+ mapping: 'mapping'
3
+ header_size: 2
4
+ structure_rules: { max_columns: 20 }
5
+ rules:
6
+ - { position: [1,1], key: 'first_name' }
7
+ - { position: [2,1], key: 'first_name' }
data/doc/Cell.html ADDED
@@ -0,0 +1,282 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Cell
8
+
9
+ &mdash; Documentation by YARD 0.8.7.4
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!Cell.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (C)</a> &raquo;
35
+
36
+
37
+ <span class="title">Cell</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: Cell
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Cell</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/csv2hash/cell.rb</dd>
98
+
99
+ </dl>
100
+ <div class="clear"></div>
101
+
102
+
103
+
104
+
105
+
106
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
107
+ <ul class="summary">
108
+
109
+ <li class="public ">
110
+ <span class="summary_signature">
111
+
112
+ <a href="#rules-instance_method" title="#rules (instance method)">- (Object) <strong>rules</strong> </a>
113
+
114
+
115
+
116
+ </span>
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+ <span class="summary_desc"><div class='inline'>
130
+ <p>Returns the value of attribute rules.</p>
131
+ </div></span>
132
+
133
+ </li>
134
+
135
+
136
+ </ul>
137
+
138
+
139
+
140
+
141
+
142
+ <h2>
143
+ Instance Method Summary
144
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
145
+ </h2>
146
+
147
+ <ul class="summary">
148
+
149
+ <li class="public ">
150
+ <span class="summary_signature">
151
+
152
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Cell) <strong>initialize</strong>(*args) </a>
153
+
154
+
155
+
156
+ </span>
157
+
158
+
159
+ <span class="note title constructor">constructor</span>
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <span class="summary_desc"><div class='inline'>
169
+ <p>A new instance of Cell.</p>
170
+ </div></span>
171
+
172
+ </li>
173
+
174
+
175
+ </ul>
176
+
177
+
178
+ <div id="constructor_details" class="method_details_list">
179
+ <h2>Constructor Details</h2>
180
+
181
+ <div class="method_details first">
182
+ <h3 class="signature first" id="initialize-instance_method">
183
+
184
+ - (<tt><span class='object_link'><a href="" title="Cell (class)">Cell</a></span></tt>) <strong>initialize</strong>(*args)
185
+
186
+
187
+
188
+
189
+
190
+ </h3><div class="docstring">
191
+ <div class="discussion">
192
+
193
+ <p>Returns a new instance of Cell</p>
194
+
195
+
196
+ </div>
197
+ </div>
198
+ <div class="tags">
199
+
200
+
201
+ </div><table class="source_code">
202
+ <tr>
203
+ <td>
204
+ <pre class="lines">
205
+
206
+
207
+ 7
208
+ 8
209
+ 9</pre>
210
+ </td>
211
+ <td>
212
+ <pre class="code"><span class="info file"># File 'lib/csv2hash/cell.rb', line 7</span>
213
+
214
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span>
215
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_rules'>rules</span> <span class='op'>=</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_extract_options!'>extract_options!</span>
216
+ <span class='kw'>end</span></pre>
217
+ </td>
218
+ </tr>
219
+ </table>
220
+ </div>
221
+
222
+ </div>
223
+
224
+ <div id="instance_attr_details" class="attr_details">
225
+ <h2>Instance Attribute Details</h2>
226
+
227
+
228
+ <span id="rules=-instance_method"></span>
229
+ <div class="method_details first">
230
+ <h3 class="signature first" id="rules-instance_method">
231
+
232
+ - (<tt>Object</tt>) <strong>rules</strong>
233
+
234
+
235
+
236
+
237
+
238
+ </h3><div class="docstring">
239
+ <div class="discussion">
240
+
241
+ <p>Returns the value of attribute rules</p>
242
+
243
+
244
+ </div>
245
+ </div>
246
+ <div class="tags">
247
+
248
+
249
+ </div><table class="source_code">
250
+ <tr>
251
+ <td>
252
+ <pre class="lines">
253
+
254
+
255
+ 5
256
+ 6
257
+ 7</pre>
258
+ </td>
259
+ <td>
260
+ <pre class="code"><span class="info file"># File 'lib/csv2hash/cell.rb', line 5</span>
261
+
262
+ <span class='kw'>def</span> <span class='id identifier rubyid_rules'>rules</span>
263
+ <span class='ivar'>@rules</span>
264
+ <span class='kw'>end</span></pre>
265
+ </td>
266
+ </tr>
267
+ </table>
268
+ </div>
269
+
270
+ </div>
271
+
272
+
273
+ </div>
274
+
275
+ <div id="footer">
276
+ Generated on Fri Aug 29 17:12:26 2014 by
277
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
278
+ 0.8.7.4 (ruby-2.1.2).
279
+ </div>
280
+
281
+ </body>
282
+ </html>