Class: AnnotateRb::Runner
- Inherits:
-
Object
- Object
- AnnotateRb::Runner
- Defined in:
- lib/annotate_rb/runner.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.run(args) ⇒ Object
6 7 8 |
# File 'lib/annotate_rb/runner.rb', line 6 def run(args) new.run(args) end |
Instance Method Details
#run(args) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/annotate_rb/runner.rb', line 11 def run(args) _original_args = args.dup = ConfigLoader.load_config = Parser.parse(args) = .merge() = Options.from(, {}) AnnotateRb::RakeBootstrapper.call() if [:command] [:command].call() else # TODO raise "Didn't specify a command" end end |