watson-ruby
watson-ruby copied to clipboard
Read and store rc FP inside initialize? [lib/watson/config.rb]
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