Class: Myway::Run
- Inherits:
-
Object
- Object
- Myway::Run
- Defined in:
- lib/myway.rb
Overview
A class for all methods that are used to run a project
Instance Method Summary collapse
Instance Method Details
#run_tests ⇒ Object
43 44 45 46 47 48 49 |
# File 'lib/myway.rb', line 43 def run_tests puts 'Running Rspec tests...' display_break system('rspec') display_break puts 'Testing completed' end |
#start_server ⇒ Object
35 36 37 38 39 40 41 |
# File 'lib/myway.rb', line 35 def start_server puts 'Starting Myway server...' display_break system('puma') display_break puts 'Myway server stopped' end |