tomparse 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d31fbe2751c47dc99b8d422876a021a4859ed9a5776bf07e249a479e8f750c11
4
+ data.tar.gz: e31f7756139196449f39cf843f2fb9b1d442b36e8dc8d9d5ce03a7e9e7311d5a
5
+ SHA512:
6
+ metadata.gz: 7c8e733b07b53fd82fd9bdaa57f1974d505126ed4293a2c00cf82ecd0ec2efb881829ecaacda6eb29a2fdfac6d6fa980367242fe33df6d43c0ce43f3aa41b85b
7
+ data.tar.gz: 84abb656e4eb2a17a11f64fc21c3b16795e62951c01b9eaac825335f21bc4fdb0a4761a7f84201feaf060df2af86a68809aab4d9943cec28e2938df5f19621cc
data/HISTORY.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release History
2
2
 
3
+ ## 0.5.0 / 2026-11-30
4
+
5
+ TomParse is brought up to date: it needs Ruby 3.1 or newer. This release
6
+ also carries the fixes made since 0.4.2, which were never published
7
+ (a 0.4.3 was prepared in 2015 but not released).
8
+
9
+ Changes:
10
+
11
+ * Fix parsing of options that run over more than one line. (Faraz Yashar)
12
+ * Fix a line break left in the description of an argument's option when
13
+ it ran over more than one line.
14
+ * Add `TomDoc#labels` as an alias of `#tags`.
15
+ * Add `TomParse::VERSION`.
16
+ * Fix typos in the documentation. (Chayoung You)
17
+ * Tests run on Spectrum, in CI on Ruby 3.1 to 4.0.
18
+
19
+
3
20
  ## 0.4.2 / 2013-02-15
4
21
 
5
22
  This release fixes description and argument parsing when
@@ -31,7 +48,7 @@ have to be all-caps. And lastly, the `Signature` section has been
31
48
  repurposed for describing variant *parameter signatures*, not dynamic
32
49
  methods. As such `signature_fields` has been deprecated. Yes, these
33
50
  are additions and some deviation from the original TomDoc spec, but
34
- when purely conceptual specs go into practice they have a tendency to
51
+ when purely conceptual specs go into practice they have a tendency to
35
52
  adapt to practical requirements.
36
53
 
37
54
  Changes:
data/README.md CHANGED
@@ -1,15 +1,8 @@
1
- # TomParse
1
+ # [TomParse](https://rubyworks.github.io/tomparse)
2
2
 
3
- [Website](http://github.com/rubyworks/tomparse) /
4
- [Report Issue](http://github.com/rubyworks/tomparse/issues) /
5
- [Source Code](http://github.com/rubyworks/tomparse) /
6
- [Gem Page](http://rubygems.org/gems/tomparse)
7
-
8
- [![Build Status](https://secure.travis-ci.org/rubyworks/tomparse.png)](http://travis-ci.org/rubyworks/tomparse)
9
- [![Gem Version](https://badge.fury.io/rb/tomparse.png)](http://badge.fury.io/rb/tomparse)
10
-
11
-
12
- ## Description
3
+ [![Version](https://img.shields.io/gem/v/tomparse.svg)](https://rubygems.org/gems/tomparse)
4
+ [![CI](https://github.com/rubyworks/tomparse/actions/workflows/ci.yml/badge.svg)](https://github.com/rubyworks/tomparse/actions/workflows/ci.yml)
5
+ [![Issues](https://img.shields.io/github/issues-raw/rubyworks/tomparse.svg)](https://github.com/rubyworks/tomparse/issues)
13
6
 
14
7
  TomParse is a TomDoc parser for Ruby. It provides no other functionality than
15
8
  to take a code comment and parse it in to a convenient object-oriented
@@ -17,13 +10,7 @@ structure in accordance with the TomDoc standard. See [TomDoc](https://github.co
17
10
  for more information about the TomDoc format.
18
11
 
19
12
 
20
- ## Instruction
21
-
22
- ### Installation
23
-
24
- TomParse is available as a Ruby gem.
25
-
26
- $ gem install tomparse
13
+ ## Instructions
27
14
 
28
15
  ### Usage
29
16
 
@@ -59,6 +46,19 @@ looks something like this:
59
46
  text * count
60
47
  end
61
48
 
49
+ ### Installation
50
+
51
+ TomParse is available as a Ruby gem.
52
+
53
+ $ gem install tomparse
54
+
55
+ TomParse needs Ruby 3.1 or newer.
56
+
57
+ Use with Bundler by adding to your Gemfile (gems.rb file in the future).
58
+
59
+ gem "tomparse"
60
+
61
+
62
62
  ## Extra Features
63
63
 
64
64
  Okay, we told a little white lie in the description. TomParse does take some
@@ -93,8 +93,8 @@ but there are times when its reads better to put them lower, such when using a
93
93
 
94
94
  Ruby 2.0 finally introduces *keyword arguments* to the language. TomDoc's current
95
95
  support of argument options, as a secondary argument list of a Hash argument,
96
- doesn't take keyoword arguments into good account. To remedy this TomParse provides
97
- and `Options` section, and it written just like one would an `Arguments` section.
96
+ doesn't take keyword arguments into good account. To remedy this TomParse provides
97
+ an `Options` section. It is written just like one would an `Arguments` section.
98
98
 
99
99
  ```ruby
100
100
  # Method to do fooey.
@@ -107,11 +107,11 @@ and `Options` section, and it written just like one would an `Arguments` section
107
107
  ...
108
108
  ```
109
109
 
110
- ### Tags
110
+ ### Labels
111
111
 
112
112
  One really nice new feature of TomParse is it's ability to recoginize sections
113
- starting with a capitalized word followed by a colon and a space, as special *tags*.
114
- Here is an example:
113
+ starting with a capitalized word followed by a colon and a space, as special
114
+ section *tags* or *labels* (call them what you will). Here is an example:
115
115
 
116
116
  ```ruby
117
117
  # Method to do something.
@@ -123,8 +123,8 @@ Here is an example:
123
123
  ...
124
124
  ```
125
125
 
126
- When this is parsed, rather then lumping the TODO line in with the description,
127
- the TomDoc instance will have a `tags` entry containing `['TODO', 'This is a todo note.']`.
126
+ When this is parsed, rather than lumping the TODO line in with the description,
127
+ the TomDoc instance will have a `tags`/`labels` entry containing `['TODO', 'This is a todo note.']`.
128
128
  It is important for consumer applications to recognize this. They can either just
129
129
  add the tags back into the description when generating documentation, or handle
130
130
  them separately. But tags don't have to occur right after the description. They
@@ -133,7 +133,7 @@ can occur any place in the documentation.
133
133
  ### Signatures
134
134
 
135
135
  TomParse does not support the Signature sections in exactly the same fashion as
136
- the TomDoc specification describes. Rather then define dynamic methods, signatures
136
+ the TomDoc specification describes. Rather than define dynamic methods, signatures
137
137
  are used to specify alternate argument patterns, one signature per line.
138
138
 
139
139
  ```ruby
@@ -156,7 +156,7 @@ Technically the Signatures section can still be used to designate a dynamic meth
156
156
  but as you can see by the above example, TomParse does not support the *field* list.
157
157
  If needed just use the arguments list for these as well.
158
158
 
159
- This choice was made, btw, because support for signatures as defined by the spec,
159
+ This choice was made because support for signatures as defined by the spec
160
160
  leads to very non-optimal code. It requires scanning every chunk of documentation
161
161
  for a `Signature` section in order to determine how to treat it. What is needed
162
162
  is a more universal syntax, that can be easily recognized by some clear identifier
@@ -166,12 +166,9 @@ with the more traditional concept of method signatures.
166
166
 
167
167
  ## Resources
168
168
 
169
- * [Website](http://rubyworks.github.com/tomparse)
170
- * [Source Code](http://github.com/rubyworks/tomparse) (Github)
171
- * [API Reference](http://rubydoc.info/gems/tomparse/frames")
172
- * [Mailiing List](http://groups.google.com/group/rubyworks-mailinglist)
173
- * [IRC Chat](http://chat.us.freenode.net/rubyworks)
174
- * [Upstream Repo](http://github.com/rubyworks/tomparse/tomparse.git)
169
+ * [Website](https://rubyworks.github.io/tomparse)
170
+ * [Source Code](https://github.com/rubyworks/tomparse)
171
+ * [API Reference](https://rubydoc.info/gems/tomparse)
175
172
 
176
173
 
177
174
  ## Authors
@@ -180,28 +177,18 @@ with the more traditional concept of method signatures.
180
177
  <li class="iauthor vcard">
181
178
  <span class="nickname">trans</span>
182
179
  <span>&lt;<a class="email" href="mailto:transfire@gmail.com">transfire@gmail.com</a>&gt;</span>
183
- <br/><a class="url" href="http://trans.gihub.com/">http://trans.github.com/</a>
180
+ <br/><a class="url" href="http://trans.github.com/">http://trans.github.com/</a>
184
181
  </li>
185
182
  </ul>
186
183
 
187
184
 
188
- ## Development
189
-
190
- ### Requirements
191
-
192
- * [Citron](http://rubyworks.github.com/citron) (testing)
193
- * [AE](http://rubyworks.github.com/ae) (testing)
194
- * [Fire](http://detroit.github.com/fire) (building)
195
- * [Detroit](http://detroit.github.com/detroit) (building)
196
-
197
-
198
185
  ## Copyright & License
199
186
 
200
187
  TomParse is copyrighted open-source software.
201
188
 
202
- Copyright (c) 2012 [Rubyworks](http://rubyworks.github.com). All rights reserved.
189
+ Copyright (c) 2012 [Rubyworks](https://github.com/rubyworks). All rights reserved.
203
190
 
204
- TomParse is distributable under the terms of the [BSD-2-Clause]((http://www.spdx.org/licenses/BSD-2-Clause) license.
191
+ TomParse is distributable under the terms of the [BSD-2-Clause](https://spdx.org/licenses/BSD-2-Clause) license.
205
192
 
206
193
  See LICENSE.txt for details.
207
194
 
@@ -53,7 +53,7 @@ module TomParse
53
53
  indent = line.scan(/^\s*/)[0].to_s.size
54
54
 
55
55
  if last_indent && indent > last_indent
56
- opts.last.description << line.squeeze(" ")
56
+ opts.last.description << " " << line.strip.squeeze(" ")
57
57
  else
58
58
  param, d = line.split(" - ")
59
59
  opts << Option.new(param.strip, d.strip) if param && d
@@ -81,7 +81,7 @@ module TomParse
81
81
  lines = raw.split("\n")
82
82
 
83
83
  # remove remark symbol
84
- if lines.all?{ |line| /^\s*#/ =~ line }
84
+ if lines.all?{ |line| /^\s*#/ =~ line }
85
85
  lines = lines.map do |line|
86
86
  line =~ /^(\s*#)/ ? line.sub($1, '') : nil
87
87
  end
@@ -192,7 +192,7 @@ module TomParse
192
192
  # Returns Array of signatures.
193
193
  def signatures
194
194
  parsed {
195
- @signatures
195
+ @signatures
196
196
  }
197
197
  end
198
198
 
@@ -272,7 +272,7 @@ module TomParse
272
272
  desc << sections.shift
273
273
  end
274
274
  sections = [desc.join("\n\n")] + sections
275
-
275
+
276
276
  @sections = sections.dup
277
277
 
278
278
  parse_description(sections.shift)
@@ -380,7 +380,7 @@ module TomParse
380
380
 
381
381
  # Keep a copy of the lines for later use.
382
382
  doc_lines = lines.dup
383
-
383
+
384
384
 
385
385
  # The first line may have a `Public`/`Private`/`Deprecated` marker.
386
386
  # So we just skip the first line.
@@ -400,7 +400,7 @@ module TomParse
400
400
  break
401
401
  end
402
402
  end
403
-
403
+
404
404
  # The rest of the the document should have identifiable section markers.
405
405
  while line = lines.shift
406
406
  index += 1
@@ -475,7 +475,7 @@ module TomParse
475
475
  end
476
476
  else
477
477
  @description = section.strip
478
- end
478
+ end
479
479
  end
480
480
 
481
481
  # Parse arguments section. Arguments occur subsequent to
@@ -523,7 +523,7 @@ module TomParse
523
523
  next if line.strip.empty?
524
524
  indent = line.scan(/^\s*/)[0].to_s.size
525
525
 
526
- if last_indent && indent > 0 && indent >= last_indent
526
+ if last_indent && indent > 0 && indent > last_indent
527
527
  opts.last.description << "\r\n" + line
528
528
  else
529
529
  param, desc = line.split(" - ")
@@ -661,7 +661,7 @@ module TomParse
661
661
  # Returns nothing.
662
662
  def parse_tag(section)
663
663
  md = /^([A-Z]\w+)\:\ /m.match(section)
664
-
664
+
665
665
  label = md[1]
666
666
  desc = md.post_match
667
667
 
@@ -0,0 +1,4 @@
1
+ module TomParse
2
+ # The version of TomParse.
3
+ VERSION = '0.5.0'
4
+ end
data/lib/tomparse.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  module TomParse
2
+ require 'tomparse/version'
2
3
  require 'tomparse/parser'
3
4
  require 'tomparse/parse_error'
4
5
  require 'tomparse/argument'
@@ -131,7 +132,7 @@ module TomParse
131
132
  #
132
133
  # Returns Array of signatures.
133
134
  def signatures
134
- @parser.signatures
135
+ @parser.signatures
135
136
  end
136
137
 
137
138
  # Deprecated: A list of signature fields.
@@ -151,6 +152,9 @@ module TomParse
151
152
  @parser.tags
152
153
  end
153
154
 
155
+ # Alternate name for *tags*.
156
+ alias labels tags
157
+
154
158
  # Check if method is public.
155
159
  #
156
160
  # Returns true if method is public.
metadata CHANGED
@@ -1,131 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomparse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
5
- prerelease:
4
+ version: 0.5.0
6
5
  platform: ruby
7
6
  authors:
8
- - trans
9
- autorequire:
7
+ - Trans
10
8
  bindir: bin
11
9
  cert_chain: []
12
- date: 2013-02-15 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
13
11
  dependencies:
14
12
  - !ruby/object:Gem::Dependency
15
- name: citron
13
+ name: rake
16
14
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
15
  requirements:
19
- - - ! '>='
16
+ - - ">="
20
17
  - !ruby/object:Gem::Version
21
- version: '0'
18
+ version: '13'
22
19
  type: :development
23
20
  prerelease: false
24
21
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
22
  requirements:
27
- - - ! '>='
23
+ - - ">="
28
24
  - !ruby/object:Gem::Version
29
- version: '0'
25
+ version: '13'
30
26
  - !ruby/object:Gem::Dependency
31
- name: ae
27
+ name: rubytest
32
28
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
29
  requirements:
35
- - - ! '>='
30
+ - - ">="
36
31
  - !ruby/object:Gem::Version
37
- version: '0'
32
+ version: 0.11.1
38
33
  type: :development
39
34
  prerelease: false
40
35
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
36
  requirements:
43
- - - ! '>='
37
+ - - ">="
44
38
  - !ruby/object:Gem::Version
45
- version: '0'
39
+ version: 0.11.1
46
40
  - !ruby/object:Gem::Dependency
47
- name: detroit
41
+ name: spectrum
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0.2'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0.2'
54
+ - !ruby/object:Gem::Dependency
55
+ name: ae
48
56
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
57
  requirements:
51
- - - ! '>='
58
+ - - ">="
52
59
  - !ruby/object:Gem::Version
53
- version: '0'
60
+ version: '1.9'
54
61
  type: :development
55
62
  prerelease: false
56
63
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
64
  requirements:
59
- - - ! '>='
65
+ - - ">="
60
66
  - !ruby/object:Gem::Version
61
- version: '0'
62
- description: ! 'TomParse provides no other functionality than to take a code comment
63
-
64
- and parse it in to a convenient object-oriented structure in accordance
65
-
66
- with TomDoc standard.'
67
+ version: '1.9'
68
+ description: TomParse provides no other functionality than to take a code comment
69
+ and parse it in to a convenient object-oriented structure in accordance with TomDoc
70
+ standard.
67
71
  email:
68
72
  - transfire@gmail.com
69
73
  executables: []
70
74
  extensions: []
71
- extra_rdoc_files:
72
- - LICENSE.txt
75
+ extra_rdoc_files: []
76
+ files:
73
77
  - HISTORY.md
78
+ - LICENSE.txt
74
79
  - README.md
75
- files:
76
- - .index
77
- - .yardopts
80
+ - lib/tomparse.rb
78
81
  - lib/tomparse/argument.rb
79
82
  - lib/tomparse/option.rb
80
83
  - lib/tomparse/parse_error.rb
81
84
  - lib/tomparse/parser.rb
82
- - lib/tomparse.rb
83
- - lib/tomparse.yml
84
- - test/helper.rb
85
- - test/test_arguments.rb
86
- - test/test_description.rb
87
- - test/test_examples.rb
88
- - test/test_prefixes.rb
89
- - test/test_signatures.rb
90
- - test/test_tags.rb
91
- - test/test_tomdoc.rb
92
- - test/test_yields.rb
93
- - HISTORY.md
94
- - README.md
95
- - LICENSE.txt
96
- homepage: http://rubyworks.github.com/tomparse
85
+ - lib/tomparse/version.rb
86
+ homepage: https://github.com/rubyworks/tomparse
97
87
  licenses:
98
88
  - BSD-2-Clause
99
- post_install_message:
89
+ metadata:
90
+ source_code_uri: https://github.com/rubyworks/tomparse
91
+ bug_tracker_uri: https://github.com/rubyworks/tomparse/issues
92
+ changelog_uri: https://github.com/rubyworks/tomparse/blob/master/HISTORY.md
93
+ documentation_uri: https://rubydoc.info/gems/tomparse
100
94
  rdoc_options: []
101
95
  require_paths:
102
96
  - lib
103
97
  required_ruby_version: !ruby/object:Gem::Requirement
104
- none: false
105
98
  requirements:
106
- - - ! '>='
99
+ - - ">="
107
100
  - !ruby/object:Gem::Version
108
- version: '0'
101
+ version: '3.1'
109
102
  required_rubygems_version: !ruby/object:Gem::Requirement
110
- none: false
111
103
  requirements:
112
- - - ! '>='
104
+ - - ">="
113
105
  - !ruby/object:Gem::Version
114
106
  version: '0'
115
107
  requirements: []
116
- rubyforge_project:
117
- rubygems_version: 1.8.24
118
- signing_key:
119
- specification_version: 3
108
+ rubygems_version: 3.6.9
109
+ specification_version: 4
120
110
  summary: TomDoc parser for Ruby
121
- test_files:
122
- - test/test_description.rb
123
- - test/helper.rb
124
- - test/test_examples.rb
125
- - test/test_yields.rb
126
- - test/test_signatures.rb
127
- - test/test_tags.rb
128
- - test/test_tomdoc.rb
129
- - test/test_prefixes.rb
130
- - test/test_arguments.rb
131
- has_rdoc:
111
+ test_files: []
data/.index DELETED
@@ -1,67 +0,0 @@
1
- ---
2
- revision: 2013
3
- type: ruby
4
- sources:
5
- - var
6
- authors:
7
- - name: trans
8
- email: transfire@gmail.com
9
- organizations:
10
- - name: Rubyworks
11
- website: http://rubyworks.github.com
12
- requirements:
13
- - groups:
14
- - test
15
- development: true
16
- name: citron
17
- - groups:
18
- - test
19
- development: true
20
- name: ae
21
- - groups:
22
- - build
23
- development: true
24
- name: detroit
25
- conflicts: []
26
- alternatives: []
27
- resources:
28
- - type: home
29
- uri: http://rubyworks.github.com/tomparse
30
- label: Homepage
31
- - type: code
32
- uri: http://github.com/rubyworks/tomparse
33
- label: Source Code
34
- - type: api
35
- uri: http://rubydoc.info/gems/tomparse/frames
36
- label: API Guide
37
- - type: mail
38
- uri: http://groups.google.com/group/rubyworks-mailinglist
39
- label: Mailing List
40
- - type: chat
41
- uri: http://chat.us.freenode.net/rubyworks
42
- label: IRC Channel
43
- repositories:
44
- - name: upstream
45
- scm: git
46
- uri: http://github.com/rubyworks/tomparse/tomparse.git
47
- categories:
48
- - documentation
49
- copyrights:
50
- - holder: Rubyworks
51
- year: '2012'
52
- license: BSD-2-Clause
53
- customs: []
54
- paths:
55
- lib:
56
- - lib
57
- created: '2012-03-04'
58
- summary: TomDoc parser for Ruby
59
- title: TomParse
60
- version: 0.4.2
61
- name: tomparse
62
- description: ! 'TomParse provides no other functionality than to take a code comment
63
-
64
- and parse it in to a convenient object-oriented structure in accordance
65
-
66
- with TomDoc standard.'
67
- date: '2013-02-15'
data/.yardopts DELETED
@@ -1,8 +0,0 @@
1
- --title "TomParse"
2
- --readme README.md
3
- --plugin tomdoc
4
- --private
5
- lib/**/*.rb
6
- -
7
- *.md
8
- *.txt
data/lib/tomparse.yml DELETED
@@ -1,67 +0,0 @@
1
- ---
2
- revision: 2013
3
- type: ruby
4
- sources:
5
- - var
6
- authors:
7
- - name: trans
8
- email: transfire@gmail.com
9
- organizations:
10
- - name: Rubyworks
11
- website: http://rubyworks.github.com
12
- requirements:
13
- - groups:
14
- - test
15
- development: true
16
- name: citron
17
- - groups:
18
- - test
19
- development: true
20
- name: ae
21
- - groups:
22
- - build
23
- development: true
24
- name: detroit
25
- conflicts: []
26
- alternatives: []
27
- resources:
28
- - type: home
29
- uri: http://rubyworks.github.com/tomparse
30
- label: Homepage
31
- - type: code
32
- uri: http://github.com/rubyworks/tomparse
33
- label: Source Code
34
- - type: api
35
- uri: http://rubydoc.info/gems/tomparse/frames
36
- label: API Guide
37
- - type: mail
38
- uri: http://groups.google.com/group/rubyworks-mailinglist
39
- label: Mailing List
40
- - type: chat
41
- uri: http://chat.us.freenode.net/rubyworks
42
- label: IRC Channel
43
- repositories:
44
- - name: upstream
45
- scm: git
46
- uri: http://github.com/rubyworks/tomparse/tomparse.git
47
- categories:
48
- - documentation
49
- copyrights:
50
- - holder: Rubyworks
51
- year: '2012'
52
- license: BSD-2-Clause
53
- customs: []
54
- paths:
55
- lib:
56
- - lib
57
- created: '2012-03-04'
58
- summary: TomDoc parser for Ruby
59
- title: TomParse
60
- version: 0.4.2
61
- name: tomparse
62
- description: ! 'TomParse provides no other functionality than to take a code comment
63
-
64
- and parse it in to a convenient object-oriented structure in accordance
65
-
66
- with TomDoc standard.'
67
- date: '2013-02-15'
data/test/helper.rb DELETED
@@ -1,13 +0,0 @@
1
- require 'citron'
2
- require 'ae'
3
-
4
- if ENV['coverage']
5
- require 'simplecov'
6
- SimpleCov.command_name 'tomparse'
7
- SimpleCov.start do
8
- coverage_dir 'log/coverage'
9
- end
10
- end
11
-
12
- require 'tomparse'
13
-