Sha256: 4e71fe1eca128f6639257fdad80f91695d2094389f5f62fa6356a2ca43aab8e4
Contents?: true
Size: 963 Bytes
Versions: 43
Compression:
Stored size: 963 Bytes
Contents
require 'beaker-answers/versions/version34' module BeakerAnswers # This class provides answer file information for PE version 4.0 # # @api private class Version38 < Version34 # The version of PE that this set of answers is appropriate for def self.pe_version_matcher /\A3\.8/ end def generate_answers masterless = @options[:masterless] return super if masterless the_answers = super # add new answers exit_for_nc_migrate = answer_for(@options, :q_exit_for_nc_migrate, 'n') enable_future_parser = answer_for(@options, :q_enable_future_parser, 'n') the_answers.map do |key, value| # there may not be answers in the case of a windows host if the_answers[key] the_answers[key][:q_exit_for_nc_migrate] = exit_for_nc_migrate the_answers[key][:q_enable_future_parser] = enable_future_parser end end return the_answers end end end
Version data entries
43 entries across 43 versions & 1 rubygems
Version | Path |
---|---|
beaker-answers-0.2.0 | lib/beaker-answers/versions/version38.rb |
beaker-answers-0.1.0 | lib/beaker-answers/versions/version38.rb |
beaker-answers-0.0.0 | lib/beaker-answers/versions/version38.rb |