Top Level Namespace

Defined Under Namespace

Modules: AbortedStream, Annotated, AnnotatedArray, AnnotatedModule, Annotation, Ansible, Association, AssociationItem, Bgzf, CMD, CaseInsensitiveHash, ChainMethods, Colorize, ComputeDependency, ConcurrentStream, Cromwell, Docker, Entity, FileCache, Filtered, HPC, IndiferentHash, InputModule, LaterString, LocalPersist, Log, Misc, MultipleResult, NamedArray, Open, PDF2Text, Path, Persist, ProcPath, R, Rake, Rbbt, RbbtMutiplartPayload, RbbtPython, RbbtSemaphore, Resource, Rserve, SOPT, SimpleDSL, StreamArray, TCCache, TSV, Task, TmpFile, Workflow Classes: Aborted, Array, ClosedStream, Color, DependencyError, DependencyRbbtException, DontClose, FieldNotFoundError, FixWidthTable, Hash, KeepBar, KeepLocked, KnowledgeBase, LockInterrupted, MockMutex, PackedIndex, ParameterException, ProcessFailed, RbbtException, RbbtProcessQueue, RbbtThreadQueue, RemoteServerError, RemoteStep, RemoteWorkflow, SemaphoreInterrupted, Step, StopInsist, String, TryAgain, TryThis, WorkflowSOAP

Instance Method Summary collapse

Instance Method Details

#ddd(obj, file = $stdout) ⇒ Object



457
458
459
# File 'lib/rbbt/util/log.rb', line 457

def ddd(obj, file = $stdout)
  Log.log_obj_inspect(obj, :debug, file)
end

#ddf(obj = nil, file = $stdout) ⇒ Object



481
482
483
# File 'lib/rbbt/util/log.rb', line 481

def ddf(obj=nil, file = $stdout)
  Log.log_obj_fingerprint(obj, :debug, file)
end

#eee(obj = nil, file = $stdout) ⇒ Object



477
478
479
# File 'lib/rbbt/util/log.rb', line 477

def eee(obj=nil, file = $stdout)
  Log.log_obj_inspect(obj, :error, file)
end

#eef(obj = nil, file = $stdout) ⇒ Object



501
502
503
# File 'lib/rbbt/util/log.rb', line 501

def eef(obj=nil, file = $stdout)
  Log.log_obj_fingerprint(obj, :error, file)
end

#fff(object) ⇒ Object



449
450
451
452
453
454
455
# File 'lib/rbbt/util/log.rb', line 449

def fff(object)
  stack = caller
  Log.debug{"#{Log.color :cyan, "FINGERPRINT:"} " << stack.first}
  Log.debug{""}
  Log.debug{require 'rbbt/util/misc'; "=> " << Misc.fingerprint(object) }
  Log.debug{""}
end

#iif(obj = nil, file = $stdout) ⇒ Object



493
494
495
# File 'lib/rbbt/util/log.rb', line 493

def iif(obj=nil, file = $stdout)
  Log.log_obj_fingerprint(obj, :info, file)
end

#iii(obj = nil, file = $stdout) ⇒ Object



469
470
471
# File 'lib/rbbt/util/log.rb', line 469

def iii(obj=nil, file = $stdout)
  Log.log_obj_inspect(obj, :info, file)
end

#llf(obj = nil, file = $stdout) ⇒ Object



485
486
487
# File 'lib/rbbt/util/log.rb', line 485

def llf(obj=nil, file = $stdout)
  Log.log_obj_fingerprint(obj, :low, file)
end

#lll(obj, file = $stdout) ⇒ Object



461
462
463
# File 'lib/rbbt/util/log.rb', line 461

def lll(obj, file = $stdout)
  Log.log_obj_inspect(obj, :low, file)
end

#mmf(obj = nil, file = $stdout) ⇒ Object



489
490
491
# File 'lib/rbbt/util/log.rb', line 489

def mmf(obj=nil, file = $stdout)
  Log.log_obj_fingerprint(obj, :medium, file)
end

#mmm(obj, file = $stdout) ⇒ Object



465
466
467
# File 'lib/rbbt/util/log.rb', line 465

def mmm(obj, file = $stdout)
  Log.log_obj_inspect(obj, :medium, file)
end

#ppp(message) ⇒ Object



437
438
439
440
441
442
443
444
445
446
447
# File 'lib/rbbt/util/log.rb', line 437

def ppp(message)
  stack = caller
  puts "#{Log.color :cyan, "PRINT:"} " << stack.first
  puts ""
  if message.length > 200 or message.include? "\n"
    puts Log.color(:cyan, "=>|") << "\n" << message.to_s
  else
    puts Log.color(:cyan, "=> ") << message.to_s
  end
  puts ""
end

#rgb(*args) ⇒ Object

“Global” method for creating Color objects, eg:

new_color = rgb(params[:new_color])
style="border: 1px solid <%= rgb(10,50,80).lighten %>"


265
266
267
# File 'lib/rbbt/util/color.rb', line 265

def rgb(*args)
  Color.parse(*args)
end

#wwwf(obj = nil, file = $stdout) ⇒ Object



497
498
499
# File 'lib/rbbt/util/log.rb', line 497

def wwwf(obj=nil, file = $stdout)
  Log.log_obj_fingerprint(obj, :warn, file)
end

#wwww(obj = nil, file = $stdout) ⇒ Object



473
474
475
# File 'lib/rbbt/util/log.rb', line 473

def wwww(obj=nil, file = $stdout)
  Log.log_obj_inspect(obj, :warn, file)
end