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, SmithWaterman, StreamArray, TCCache, TSV, Task, TmpFile, Workflow Classes: Aborted, Array, ClosedStream, Color, ConcurrentStreamProcessFailed, DependencyError, DependencyRbbtException, DontClose, FieldNotFoundError, FixWidthTable, Hash, KeepBar, KeepLocked, KnowledgeBase, LockInterrupted, MissingParameterException, MockMutex, PackedIndex, ParameterException, ProcessFailed, RbbtException, RbbtProcessQueue, RbbtThreadQueue, RemoteServerError, RemoteStep, RemoteWorkflow, SSHLine, SSHProcessFailed, SemaphoreInterrupted, Step, StopInsist, String, TryAgain, TryThis, WorkflowSOAP

Instance Method Summary collapse

Instance Method Details

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



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

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

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



509
510
511
# File 'lib/rbbt/util/log.rb', line 509

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

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



505
506
507
# File 'lib/rbbt/util/log.rb', line 505

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

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



529
530
531
# File 'lib/rbbt/util/log.rb', line 529

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

#fff(object) ⇒ Object



477
478
479
480
481
482
483
# File 'lib/rbbt/util/log.rb', line 477

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



521
522
523
# File 'lib/rbbt/util/log.rb', line 521

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

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



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

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

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



513
514
515
# File 'lib/rbbt/util/log.rb', line 513

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

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



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

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

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



517
518
519
# File 'lib/rbbt/util/log.rb', line 517

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

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



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

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

#ppp(message) ⇒ Object



465
466
467
468
469
470
471
472
473
474
475
# File 'lib/rbbt/util/log.rb', line 465

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



525
526
527
# File 'lib/rbbt/util/log.rb', line 525

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

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



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

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