Sha256: fa15856b68df8dd68f06f14f269b14c34049155619b1eb9406783b6cadffad21
Contents?: true
Size: 936 Bytes
Versions: 76
Compression:
Stored size: 936 Bytes
Contents
# frozen_string_literal: true require 'eac_cli/core_ext' require 'avm/instances/runner' require 'avm/eac_webapp_base0/runner/apache_host' require 'avm/eac_rails_base0/apache_path' module Avm module EacWebappBase0 class Runner < ::Avm::Instances::Runner class ApachePath runner_with :help 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 private def apache_path_uncached stereotype_apache_path_class.new(runner_context.call(:instance)) end def result_uncached apache_path.run end def stereotype_apache_path_class "#{runner_context.call(:instance).class.name.deconstantize}::ApachePath".constantize end end end end end
Version data entries
76 entries across 76 versions & 3 rubygems