Class: FluentCommandBuilder::Netsh::V61::AddUrlAcl
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Netsh::V61::AddUrlAcl
show all
- Defined in:
- lib/fluent_command_builder/command_builders/netsh_61.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, url) ⇒ AddUrlAcl
Returns a new instance of AddUrlAcl.
385
386
387
388
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 385
def initialize(underlying_builder, url)
super underlying_builder
@b.append " add urlacl url=#{@b.format url}"
end
|
Instance Method Details
#delegate(delegate) {|@b| ... } ⇒ Object
399
400
401
402
403
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 399
def delegate(delegate)
@b.append " delegate=#{@b.format delegate}"
yield @b if block_given?
self
end
|
#listen(listen) {|@b| ... } ⇒ Object
394
395
396
397
398
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 394
def listen(listen)
@b.append " listen=#{@b.format listen}"
yield @b if block_given?
self
end
|
#sddl(sddl) {|@b| ... } ⇒ Object
404
405
406
407
408
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 404
def sddl(sddl)
@b.append " sddl=#{@b.format sddl}"
yield @b if block_given?
self
end
|
#user(user) {|@b| ... } ⇒ Object
389
390
391
392
393
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 389
def user(user)
@b.append " user=#{@b.format user}"
yield @b if block_given?
self
end
|