Class: FluentCommandBuilder::TeamFoundationTEE::V101::Eula

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

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ Eula

Returns a new instance of Eula.



766
767
768
769
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 766

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

Instance Method Details

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

Yields:

  • (@b)


770
771
772
773
774
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 770

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