Hi,
You can get it using ENV. Try this in irb:
ENV #hash with many info
Home folder: ENV[“HOME”] #only path to home folder
Hi,
You can get it using ENV. Try this in irb:
ENV #hash with many info
Home folder: ENV[“HOME”] #only path to home folder
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs