Class: RspecPreloader::CommandLine
- Inherits:
-
Object
- Object
- RspecPreloader::CommandLine
- Defined in:
- lib/rspec_preloader/command_line.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rspec_arguments) ⇒ CommandLine
constructor
A new instance of CommandLine.
- #run ⇒ Object
Constructor Details
#initialize(rspec_arguments) ⇒ CommandLine
Returns a new instance of CommandLine.
10 11 12 |
# File 'lib/rspec_preloader/command_line.rb', line 10 def initialize(rspec_arguments) @rspec_arguments = rspec_arguments end |
Class Method Details
.run(rspec_arguments = ['']) ⇒ Object
6 7 8 |
# File 'lib/rspec_preloader/command_line.rb', line 6 def self.run(rspec_arguments = ['']) new(rspec_arguments).run end |
Instance Method Details
#run ⇒ Object
14 15 16 17 |
# File 'lib/rspec_preloader/command_line.rb', line 14 def run first_run command_line_loop end |