Class: FluentCommandBuilder::Tf::TEE2010::Eula

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/tf_tee_2010.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#execute!, #to_s

Constructor Details

#initialize(builder) ⇒ Eula

Returns a new instance of Eula.



743
744
745
746
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 743

def initialize(builder)
  super builder
  @builder.append ' eula'
end

Instance Method Details

#accept {|@builder| ... } ⇒ Object

Yields:

  • (@builder)


747
748
749
750
751
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 747

def accept
  @builder.append ' -accept'
  yield @builder if block_given?
  self
end