Class: Puma::Daemon::CLI
- Inherits:
-
Object
- Object
- Puma::Daemon::CLI
- Defined in:
- lib/puma/daemon/cli.rb
Instance Attribute Summary collapse
-
#argv ⇒ Object
Returns the value of attribute argv.
-
#cli ⇒ Object
Returns the value of attribute cli.
Instance Method Summary collapse
-
#initialize(argv = ARGV) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
Instance Attribute Details
#argv ⇒ Object
Returns the value of attribute argv.
8 9 10 |
# File 'lib/puma/daemon/cli.rb', line 8 def argv @argv end |
#cli ⇒ Object
Returns the value of attribute cli.
8 9 10 |
# File 'lib/puma/daemon/cli.rb', line 8 def cli @cli end |
Instance Method Details
#run ⇒ Object
15 16 17 |
# File 'lib/puma/daemon/cli.rb', line 15 def run cli.run end |