Sha256: 1e02a3b2dad7a7fd57dec1f4582885fc1b3b957699314fe611123f827624287d

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

module OptparsePlus
  module ExecutionStrategy
    # <b>OptparsePlus Internal - treat as private</b>
    #
    # For RBX; it throws a different exception when a command isn't found, so we override that here.
    class RBXOpen_4 < Open_4
      def exception_meaning_command_not_found
        [Errno::EINVAL] + Array(super)
      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/rbx_open_4.rb
optparse-plus-3.0.0 lib/optparse_plus/execution_strategy/rbx_open_4.rb