Class: FluentCommandBuilder::Netsh::V61::Advfirewall

Inherits:
CommandBase
  • Object
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) ⇒ Advfirewall

Returns a new instance of Advfirewall.



35
36
37
38
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 35

def initialize(underlying_builder)
  super underlying_builder
  @b.append ' advfirewall'
end

Instance Method Details

#firewallObject



39
40
41
# File 'lib/fluent_command_builder/command_builders/netsh_61.rb', line 39

def firewall
  Firewall.new @b
end