Class: RubyCommentTester
- Inherits:
-
Console::Application
- Object
- Console::Application
- RubyCommentTester
- Defined in:
- lib/reap/bin/rubytest.rb
Constant Summary collapse
- RETEST =
/^=begin\s+test.*?\n(.*)\n=end/mi
Instance Method Summary collapse
-
#__help ⇒ Object
(also: #_h)
option to display help.
-
#__verbose ⇒ Object
(also: #_v)
option to display help.
- #main(*filepaths) ⇒ Object
Instance Method Details
#__help ⇒ Object Also known as: _h
option to display help
14 15 16 17 |
# File 'lib/reap/bin/rubytest.rb', line 14 def __help puts HELP exit 0 end |
#__verbose ⇒ Object Also known as: _v
option to display help
10 |
# File 'lib/reap/bin/rubytest.rb', line 10 def __verbose ; $VERBOSE = true ; end |
#main(*filepaths) ⇒ Object
20 21 22 23 24 |
# File 'lib/reap/bin/rubytest.rb', line 20 def main( *filepaths ) filepaths.each { |fp| run_comment_test( fp ) } end |