Top Level Namespace
Defined Under Namespace
Modules: Annotated, AnnotatedArray, AnnotatedModule, Annotation, Association, AssociationItem, Bgzf, CMD, ChainMethods, Colorize, ConcurrentStream, Entity, FileCache, Filtered, IndiferentHash, LaterString, LocalPersist, Log, Misc, MultipleResult, NamedArray, Open, PDF2Text, Path, Persist, R, Rake, Rbbt, RbbtSemaphore, Resource, Rserve, SOPT, SimpleDSL, TSV, Task, TmpFile, Workflow
Classes: Aborted, ClosedStream, Color, FieldNotFoundError, FixWidthTable, Hash, KeepBar, KeepLocked, KnowledgeBase, MockMutex, PackedIndex, ParameterException, ProcessFailed, RbbtProcessQueue, RbbtThreadQueue, RemoteServerError, Step, String, TryAgain, WorkflowRESTClient, WorkflowSOAP
Instance Method Summary
collapse
-
#ddd(obj, file = $stdout) ⇒ Object
-
#ddf(obj, file = $stdout) ⇒ Object
-
#eee(obj, file = $stdout) ⇒ Object
-
#eef(obj, file = $stdout) ⇒ Object
-
#fff(object) ⇒ Object
-
#iif(obj, file = $stdout) ⇒ Object
-
#iii(obj, file = $stdout) ⇒ Object
-
#llf(obj, file = $stdout) ⇒ Object
-
#lll(obj, file = $stdout) ⇒ Object
-
#mmf(obj, file = $stdout) ⇒ Object
-
#mmm(obj, file = $stdout) ⇒ Object
-
#ppp(message) ⇒ Object
-
#rgb(*args) ⇒ Object
“Global” method for creating Color objects, eg: new_color = rgb(params) style=“border: 1px solid <%= rgb(10,50,80).lighten %>”.
-
#wwwf(obj, file = $stdout) ⇒ Object
-
#wwww(obj, file = $stdout) ⇒ Object
Instance Method Details
#ddd(obj, file = $stdout) ⇒ Object
298
299
300
|
# File 'lib/rbbt/util/log.rb', line 298
def ddd(obj, file = $stdout)
Log.log_obj_inspect(obj, :debug, file)
end
|
#ddf(obj, file = $stdout) ⇒ Object
322
323
324
|
# File 'lib/rbbt/util/log.rb', line 322
def ddf(obj, file = $stdout)
Log.log_obj_fingerprint(obj, :debug, file)
end
|
#eee(obj, file = $stdout) ⇒ Object
318
319
320
|
# File 'lib/rbbt/util/log.rb', line 318
def eee(obj, file = $stdout)
Log.log_obj_inspect(obj, :error, file)
end
|
#eef(obj, file = $stdout) ⇒ Object
342
343
344
|
# File 'lib/rbbt/util/log.rb', line 342
def eef(obj, file = $stdout)
Log.log_obj_fingerprint(obj, :error, file)
end
|
#iif(obj, file = $stdout) ⇒ Object
334
335
336
|
# File 'lib/rbbt/util/log.rb', line 334
def iif(obj, file = $stdout)
Log.log_obj_fingerprint(obj, :info, file)
end
|
#iii(obj, file = $stdout) ⇒ Object
310
311
312
|
# File 'lib/rbbt/util/log.rb', line 310
def iii(obj, file = $stdout)
Log.log_obj_inspect(obj, :info, file)
end
|
#llf(obj, file = $stdout) ⇒ Object
326
327
328
|
# File 'lib/rbbt/util/log.rb', line 326
def llf(obj, file = $stdout)
Log.log_obj_fingerprint(obj, :low, file)
end
|
#lll(obj, file = $stdout) ⇒ Object
302
303
304
|
# File 'lib/rbbt/util/log.rb', line 302
def lll(obj, file = $stdout)
Log.log_obj_inspect(obj, :low, file)
end
|
#mmf(obj, file = $stdout) ⇒ Object
330
331
332
|
# File 'lib/rbbt/util/log.rb', line 330
def mmf(obj, file = $stdout)
Log.log_obj_fingerprint(obj, :medium, file)
end
|
#mmm(obj, file = $stdout) ⇒ Object
306
307
308
|
# File 'lib/rbbt/util/log.rb', line 306
def mmm(obj, file = $stdout)
Log.log_obj_inspect(obj, :medium, file)
end
|
#ppp(message) ⇒ Object
278
279
280
281
282
283
284
285
286
287
288
|
# File 'lib/rbbt/util/log.rb', line 278
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, file = $stdout) ⇒ Object
338
339
340
|
# File 'lib/rbbt/util/log.rb', line 338
def wwwf(obj, file = $stdout)
Log.log_obj_fingerprint(obj, :warn, file)
end
|
#wwww(obj, file = $stdout) ⇒ Object
314
315
316
|
# File 'lib/rbbt/util/log.rb', line 314
def wwww(obj, file = $stdout)
Log.log_obj_inspect(obj, :warn, file)
end
|