lib/ztk/command/private.rb
# Formats a header suitable for writing to the direct logger when logging
# sessions.
Formats a header suitable for writing to the direct logger when logging
sessions.
Formats a header suitable for writing to the direct logger when logging sessions .
def log_header(what, char="=")
        count = 16
        sep = (char * count)
        header = [sep, "[ #{tag} >>> #{what} ]", sep].join
        "#{header}\n"
      end
def log_header ( what , char = "=" ) count = 16 sep = ( char * count ) header = [ sep , "[ #{tag} >>> #{what} ]" , sep ] . join "#{header}\n" end
Formats a header suitable for writing to the direct logger when logging
sessions.
Formats a header suitable for writing to the direct logger when logging sessions .
what
<not_specific>
char
<not_specific>