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.
384
385
386
387
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 384
def initialize(underlying_builder, url)
super underlying_builder
@b.append " add urlacl url=#{@b.format url}"
end
|
Instance Method Details
#delegate(delegate) {|@b| ... } ⇒ Object
398
399
400
401
402
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 398
def delegate(delegate)
@b.append " delegate=#{@b.format delegate}"
yield @b if block_given?
self
end
|
#listen(listen) {|@b| ... } ⇒ Object
393
394
395
396
397
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 393
def listen(listen)
@b.append " listen=#{@b.format listen}"
yield @b if block_given?
self
end
|
#sddl(sddl) {|@b| ... } ⇒ Object
403
404
405
406
407
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 403
def sddl(sddl)
@b.append " sddl=#{@b.format sddl}"
yield @b if block_given?
self
end
|
#user(user) {|@b| ... } ⇒ Object
388
389
390
391
392
|
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 388
def user(user)
@b.append " user=#{@b.format user}"
yield @b if block_given?
self
end
|