Sha256: 27d7a11dec42e7adf09f57a19e44e9d36b6e88a557a2c3129513901842121353

Contents?: true

Size: 570 Bytes

Versions: 21

Compression:

Stored size: 570 Bytes

Contents

# frozen_string_literal: true

require 'avm/tools/core_ext'

module Avm
  module Tools
    class Runner
      class Source < ::Avm::Sources::Runner
        class Sub
          runner_with :help, :subcommands do
            pos_arg :sub_path
            subcommands
          end
          for_context :source_sub

          private

          # !method source_sub
          # @return [Avm::Sources::Base::Sub]
          def source_sub_uncached
            source.sub(parsed.sub_path)
          end

          require_sub __FILE__
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
avm-tools-0.162.0 lib/avm/tools/runner/source/sub.rb
eac_tools-0.94.0 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
avm-tools-0.161.0 lib/avm/tools/runner/source/sub.rb
eac_tools-0.86.5 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
avm-tools-0.160.2 lib/avm/tools/runner/source/sub.rb
eac_tools-0.86.4 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
eac_tools-0.86.3 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
avm-tools-0.160.1 lib/avm/tools/runner/source/sub.rb
eac_tools-0.86.2 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
eac_tools-0.86.1 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
avm-tools-0.160.0 lib/avm/tools/runner/source/sub.rb
eac_tools-0.86.0 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
eac_tools-0.85.1 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
avm-tools-0.159.1 lib/avm/tools/runner/source/sub.rb
eac_tools-0.85.0 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
eac_tools-0.84.2 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
eac_tools-0.84.1 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
eac_tools-0.84.0 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
eac_tools-0.83.0 sub/avm-tools/lib/avm/tools/runner/source/sub.rb
avm-tools-0.159.0 lib/avm/tools/runner/source/sub.rb