Class: FindT::CLI
- Inherits:
-
Object
- Object
- FindT::CLI
- Defined in:
- lib/find_t/cli.rb
Instance Method Summary collapse
-
#initialize(args, root_path, isatty) ⇒ CLI
constructor
A new instance of CLI.
Constructor Details
#initialize(args, root_path, isatty) ⇒ CLI
Returns a new instance of CLI.
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/find_t/cli.rb', line 9 def initialize(args, root_path, isatty) @root_path = root_path args @scanner = Scanner.new( root_path: @root_path, rails: @options['rails'], ) @printer = Printer.new @root_path, isatty run end |