Method: FluentCommandBuilder::MSDeploy::V71::MSDeploy#enable_rule

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

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

Yields:

  • (@b)


72
73
74
75
76
# File 'lib/fluent_command_builder/command_builders/msdeploy_71.rb', line 72

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