Class: Xcop::CLI
- Inherits:
-
Object
- Object
- Xcop::CLI
- Defined in:
- lib/xcop/cli.rb
Overview
Command line interface.
- Author
-
Yegor Bugayenko ([email protected])
- Copyright
-
Copyright © 2017-2025 Yegor Bugayenko
- License
-
MIT
Instance Method Summary collapse
-
#fix ⇒ Object
Fix them all.
-
#initialize(files, nocolor: false) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(files, nocolor: false) ⇒ CLI
Returns a new instance of CLI.
32 33 34 35 |
# File 'lib/xcop/cli.rb', line 32 def initialize(files, nocolor: false) @files = files @nocolor = nocolor end |