When we work with vim, usually it will start with our current home directory. If we want to change global working directory of vim to the current edited file, we can do by executing :cd %:p:h and it will show the directory it changed to. To change only for the current window we can do :lcd %:p:h. I like to use :split command to edit minimal 2 file and :lcd will come handy if we will work on multiple directory also.
Ruby programming language have constant like other language we know ? Or Ruby dont have ?
Ruby have naming convention related to variable names. If a variable name begin with upper case then its considered constant. Ruby wont stop you to change that constant, it only emit warning like a test case below on irb.