Sha256: 19df633f17aed3fac941a688b7ce3f69cfb2d0782205b8a1d3381f7d6a64533f
Contents?: true
Size: 659 Bytes
Versions: 402
Compression:
Stored size: 659 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/envs/command' require 'eac_ruby_utils/envs/executable' require 'eac_ruby_utils/envs/file' module EacRubyUtils module Envs class BaseEnv def command(*args) ::EacRubyUtils::Envs::Command.new(self, args) end # <b>DEPRECATED:</b> Please use <tt>file(file).exist?</tt> instead. def file_exist?(file) self.file(file).exist? end def executable(*executable_new_args) ::EacRubyUtils::Envs::Executable.new(self, *executable_new_args) end def file(path) ::EacRubyUtils::Envs::File.new(self, path) end end end end
Version data entries
402 entries across 402 versions & 4 rubygems