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

No real setup in initialize method, combine it and run method? [lib/watson/printer.rb]

Open nhmood opened this issue 11 years ago • 0 comments

filename : lib/watson/printer.rb line # : 26 tag : review md5 : 3727c6b5ea8b49483d4e32af0c5f168e

    # [review] - No real setup in initialize method, combine it and run method?
        # Include for debug_print (for class methods)
    include Watson
        # Debug printing for this class
    DEBUG = false       
        class << self

    # Include for debug_print (for static methods)
    include Watson
        ###########################################################
    # Custom color print for static call (only writes to STDOUT)   
    def cprint (msg = "", color = "")

nhmood avatar Nov 21 '13 16:11 nhmood