Class: IISConfig::Command
- Inherits:
-
Object
- Object
- IISConfig::Command
- Defined in:
- lib/iisconfig/command.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#safe_command ⇒ Object
readonly
Returns the value of attribute safe_command.
Instance Method Summary collapse
-
#initialize(command, safe_command) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(command, safe_command) ⇒ Command
Returns a new instance of Command.
8 9 10 11 |
# File 'lib/iisconfig/command.rb', line 8 def initialize(command, safe_command) @command = command @safe_command = safe_command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
5 6 7 |
# File 'lib/iisconfig/command.rb', line 5 def command @command end |
#safe_command ⇒ Object (readonly)
Returns the value of attribute safe_command.
6 7 8 |
# File 'lib/iisconfig/command.rb', line 6 def safe_command @safe_command end |