Class: IISConfig::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/iisconfig/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commandObject (readonly)

Returns the value of attribute command.



5
6
7
# File 'lib/iisconfig/command.rb', line 5

def command
  @command
end

#safe_commandObject (readonly)

Returns the value of attribute safe_command.



6
7
8
# File 'lib/iisconfig/command.rb', line 6

def safe_command
  @safe_command
end