Class: Rednode::Process::Env

Inherits:
Object
  • Object
show all
Defined in:
lib/rednode/process.rb

Instance Method Summary collapse

Instance Method Details

#[](property) ⇒ Object



79
80
81
# File 'lib/rednode/process.rb', line 79

def [](property)
  ENV.has_key?(property) ? ENV[property] : yield
end