Class: FluentCommandBuilder::Netsh::V2008::Advfirewall
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Netsh::V2008::Advfirewall
- Defined in:
- lib/fluent_command_builder/command_builders/netsh_2008.rb
Instance Method Summary collapse
- #firewall ⇒ Object
-
#initialize(builder) ⇒ Advfirewall
constructor
A new instance of Advfirewall.
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Advfirewall
Returns a new instance of Advfirewall.
20 21 22 23 |
# File 'lib/fluent_command_builder/command_builders/netsh_2008.rb', line 20 def initialize(builder) super builder @builder.append ' advfirewall' end |
Instance Method Details
#firewall ⇒ Object
24 25 26 |
# File 'lib/fluent_command_builder/command_builders/netsh_2008.rb', line 24 def firewall Firewall.new @builder end |