Class: Ruby::Nginx::Commands::AddNginxConfig
- Inherits:
-
Object
- Object
- Ruby::Nginx::Commands::AddNginxConfig
- Includes:
- Ruby::Nginx::Constants
- Defined in:
- lib/ruby/nginx/commands/add_nginx_config.rb
Constant Summary
Constants included from Ruby::Nginx::Constants
Ruby::Nginx::Constants::CONFIG_PATH, Ruby::Nginx::Constants::SERVERS_PATH
Instance Method Summary collapse
-
#initialize(name, config) ⇒ AddNginxConfig
constructor
A new instance of AddNginxConfig.
- #run ⇒ Object
Constructor Details
#initialize(name, config) ⇒ AddNginxConfig
Returns a new instance of AddNginxConfig.
12 13 14 15 |
# File 'lib/ruby/nginx/commands/add_nginx_config.rb', line 12 def initialize(name, config) @name = name @config = config end |