# File lib/rye/box.rb, line 242
242:     def [](fpath=nil)
243:       if fpath.nil? || fpath.index('/') == 0
244:         @rye_current_working_directory = fpath
245:       else
246:         # Append to non-absolute paths
247:         if @rye_current_working_directory
248:           newpath = File.join(@rye_current_working_directory, fpath)
249:           @rye_current_working_directory = newpath
250:         else
251:           @rye_current_working_directory = fpath
252:         end
253:       end
254:       debug "CWD: #{@rye_current_working_directory}"
255:       self
256:     end