getoptions 0.2 → 0.3
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.
- data/lib/getoptions.rb +0 -13
- metadata +2 -2
data/lib/getoptions.rb
CHANGED
@@ -119,7 +119,6 @@
|
|
119
119
|
#
|
120
120
|
#
|
121
121
|
|
122
|
-
require 'rdoc/usage'
|
123
122
|
require 'abbrev'
|
124
123
|
|
125
124
|
class GetOptions
|
@@ -413,15 +412,3 @@ class GetOptions
|
|
413
412
|
end
|
414
413
|
|
415
414
|
end
|
416
|
-
|
417
|
-
|
418
|
-
# Spit out usage if --help is specified
|
419
|
-
if __FILE__ == $0
|
420
|
-
begin
|
421
|
-
RDoc::usage if GetOptions.new(%w(help)).help
|
422
|
-
rescue
|
423
|
-
warn $!
|
424
|
-
exit 1
|
425
|
-
end
|
426
|
-
end
|
427
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: getoptions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.3"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delaney Parker
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-04-20 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|