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

Read and store rc FP inside initialize? [lib/watson/config.rb]

Open nhmood opened this issue 11 years ago • 0 comments

filename : lib/watson/config.rb line # : 70 tag : review md5 : 21917160148caa0b73c4af43307f87b9

    # [review] - Read and store rc FP inside initialize?
    # This way we don't need to keep reopening the FP to use it
    # but then we need a way to reliably close the FP when done 

        # Identify method entry
        debug_print "#{self.class} : #{__method__}\n"
            # Program config
        @rc_file        = ".watsonrc"
        @tmp_file       = ".watsonresults"
            @parse_depth    = 0
        @context_depth  = 15
            # State flags
        @cl_entry_set   = false
        @cl_tag_set     = false

nhmood avatar Nov 21 '13 16:11 nhmood