Sha256: 88543c34915493d9daf9bc154f96dbf942d8a4d8a86d10eeee453a227e15845e

Contents?: true

Size: 908 Bytes

Versions: 7

Compression:

Stored size: 908 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/core_ext'
require 'avm/eac_webapp_base0/runner/apache_host'
require 'eac_ruby_utils/console/docopt_runner'
require 'avm/eac_rails_base0/apache_path'

module Avm
  module Tools
    class Runner
      class EacRailsBase0 < ::Avm::EacRailsBase1::Runner
        class ApachePath < ::EacRubyUtils::Console::DocoptRunner
          runner_with

          runner_definition do
            desc 'Configure Apache path configuration for instance.'
          end

          def run
            if result.error?
              fatal_error result.to_s
            else
              infov 'Result', result.label
            end
          end

          def apache_path_uncached
            ::Avm::EacRailsBase0::ApachePath.new(context(:instance))
          end

          def result_uncached
            apache_path.run
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
avm-tools-0.92.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.91.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.90.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.89.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.88.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.87.1 lib/avm/tools/runner/eac_rails_base0/apache_path.rb
avm-tools-0.87.0 lib/avm/tools/runner/eac_rails_base0/apache_path.rb