Class: EacRubyUtils::Envs::BaseEnv
- Defined in:
- lib/eac_ruby_utils/envs/base_env.rb
Instance Method Summary collapse
Instance Method Details
#command(*args) ⇒ Object
8 9 10 |
# File 'lib/eac_ruby_utils/envs/base_env.rb', line 8 def command(*args) ::EacRubyUtils::Envs::Command.new(self, args) end |
#file_exist?(file) ⇒ Boolean
12 13 14 |
# File 'lib/eac_ruby_utils/envs/base_env.rb', line 12 def file_exist?(file) command(['stat', file]).execute[:exit_code].zero? end |