Top Level Namespace

Defined Under Namespace

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

Instance Method Summary collapse

Instance Method Details

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



412
413
414
# File 'lib/rbbt/util/log.rb', line 412

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

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



436
437
438
# File 'lib/rbbt/util/log.rb', line 436

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

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



432
433
434
# File 'lib/rbbt/util/log.rb', line 432

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

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



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

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

#fff(object) ⇒ Object



404
405
406
407
408
409
410
# File 'lib/rbbt/util/log.rb', line 404

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



448
449
450
# File 'lib/rbbt/util/log.rb', line 448

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

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



424
425
426
# File 'lib/rbbt/util/log.rb', line 424

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

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



440
441
442
# File 'lib/rbbt/util/log.rb', line 440

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

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



416
417
418
# File 'lib/rbbt/util/log.rb', line 416

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

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



444
445
446
# File 'lib/rbbt/util/log.rb', line 444

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

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



420
421
422
# File 'lib/rbbt/util/log.rb', line 420

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

#ppp(message) ⇒ Object



392
393
394
395
396
397
398
399
400
401
402
# File 'lib/rbbt/util/log.rb', line 392

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



452
453
454
# File 'lib/rbbt/util/log.rb', line 452

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

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



428
429
430
# File 'lib/rbbt/util/log.rb', line 428

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