watson-ruby icon indicating copy to clipboard operation
watson-ruby copied to clipboard

Add current file (watson) to avoid accidentally printing app tags [lib/watson/config.rb]

Open nhmood opened this issue 11 years ago • 0 comments

filename : lib/watson/config.rb line # : 231 tag : todo md5 : 04702c2887bb3056b7598de144c516a9

        # [todo] - Add current file (watson) to avoid accidentally printing app tags 
        @ignore_list.push(".")
        @ignore_list.push("..")
        @ignore_list.push("*.swp")
        @ignore_list.push(@rc_file)
        @ignore_list.push(@tmp_file)
            # Open and read rc
        # [review] - Not sure if explicit file close is required here
        _rc = File.open(@rc_file, 'r').read

        debug_print "\n\n"  

        # Create temp section var to keep track of what we are populating in config
        _section = ""

        # Keep index to print what line we are on

nhmood avatar Nov 21 '13 16:11 nhmood