Class: EacRubyUtils::Envs::BaseEnv
- Defined in:
- lib/eac_ruby_utils/envs/base_env.rb
Instance Method Summary collapse
- #command(*args) ⇒ Object
- #executable(*executable_new_args) ⇒ Object
- #file(path) ⇒ Object
-
#file_exist?(file) ⇒ Boolean
DEPRECATED: Please use
file(file).exist?
instead.
Instance Method Details
#command(*args) ⇒ Object
10 11 12 |
# File 'lib/eac_ruby_utils/envs/base_env.rb', line 10 def command(*args) ::EacRubyUtils::Envs::Command.new(self, args) end |
#executable(*executable_new_args) ⇒ Object
19 20 21 |
# File 'lib/eac_ruby_utils/envs/base_env.rb', line 19 def executable(*executable_new_args) ::EacRubyUtils::Envs::Executable.new(self, *executable_new_args) end |
#file(path) ⇒ Object
23 24 25 |
# File 'lib/eac_ruby_utils/envs/base_env.rb', line 23 def file(path) ::EacRubyUtils::Envs::File.new(self, path) end |
#file_exist?(file) ⇒ Boolean
DEPRECATED: Please use file(file).exist?
instead.
15 16 17 |
# File 'lib/eac_ruby_utils/envs/base_env.rb', line 15 def file_exist?(file) self.file(file).exist? end |