Sha256: 20355306251605aaa6cb9ef72cc6b3802d2a44b48b30d291ec43f3b882b4f4af

Contents?: true

Size: 557 Bytes

Versions: 89

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module Avm
  module EacWebappBase0
    module Instances
      class Base < ::Avm::Instances::Base
        class SubcommandParent
          enable_simple_cache
          common_constructor :instance

          private

          def runner_context_uncached
            ::EacCli::Runner::Context.new(self, argv: runner_argv)
          end

          def runner_argv
            [instance.class.name.split('::')[-2].dasherize, instance.id]
          end
        end
      end
    end
  end
end

Version data entries

89 entries across 89 versions & 2 rubygems

Version Path
eac_tools-0.46.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.45.2 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.45.1 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.45.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.44.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.43.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.42.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
avm-eac_webapp_base0-0.12.2 lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.41.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
avm-eac_webapp_base0-0.12.1 lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.40.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.39.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
avm-eac_webapp_base0-0.12.0 lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.38.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
avm-eac_webapp_base0-0.11.0 lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.37.2 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
avm-eac_webapp_base0-0.10.0 lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.37.1 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.37.0 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb
eac_tools-0.36.1 sub/avm-eac_webapp_base0/lib/avm/eac_webapp_base0/instances/base/subcommand_parent.rb