Sha256: f829b26e382f1dacf41b727175f2d2743722ab53830012ef08f3a8a1c4bd3f28

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

module OptparsePlus
  module ExecutionStrategy
    # <b>OptparsePlus Internal - treat as private</b>
    #
    # Base strategy for MRI rubies.
    class MRI < Base
      def run_command(command)
        raise "subclass must implement"
      end

      def exception_meaning_command_not_found
        Errno::ENOENT
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
optparse-plus-3.0.1 lib/optparse_plus/execution_strategy/mri.rb
optparse-plus-3.0.0 lib/optparse_plus/execution_strategy/mri.rb