Class: Angus::ServerCommand
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Angus::ServerCommand
- Includes:
- Thor::Actions
- Defined in:
- lib/angus/commands/server_command.rb
Instance Method Summary collapse
Methods included from Thor::Actions
Instance Method Details
#server ⇒ Object
8 9 10 11 12 |
# File 'lib/angus/commands/server_command.rb', line 8 def server port_option = "-p #{[:port]}" || '' host_option = "--host #{[:host]}" || '' command_processor.run("rackup #{port_option} #{host_option}", verbose: false) end |