Method: FluentCommandBuilder::MSDeploy::V71::MSDeploy#disable_rule

Defined in:
lib/fluent_command_builder/command_builders/msdeploy_71.rb

#disable_rule(rule) {|@b| ... } ⇒ Object

Yields:

  • (@b)


57
58
59
60
61
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 57

def disable_rule(rule)
  @b.append " -disableRule:#{@b.format rule, ','}"
  yield @b if block_given?
  self
end