Top Level Namespace

Defined Under Namespace

Modules: Annotated, AnnotatedArray, AnnotatedModule, Annotation, Association, AssociationItem, CMD, ChainMethods, Colorize, ConcurrentStream, Entity, FileCache, Filtered, IndiferentHash, LaterString, LocalPersist, Log, Misc, NamedArray, Open, PDF2Text, Path, Persist, R, Rake, Rbbt, RbbtSemaphore, Resource, SOPT, SimpleDSL, TSV, Task, TmpFile, Workflow Classes: Aborted, ClosedStream, Color, FieldNotFoundError, FixWidthTable, Hash, KeepBar, KeepLocked, KnowledgeBase, ParameterException, ProcessFailed, RbbtProcessQueue, RbbtThreadQueue, Step, String, TryAgain, WorkflowSOAP

Instance Method Summary collapse

Instance Method Details

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



220
221
222
# File 'lib/rbbt/util/log.rb', line 220

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

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



244
245
246
# File 'lib/rbbt/util/log.rb', line 244

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

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



240
241
242
# File 'lib/rbbt/util/log.rb', line 240

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

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



264
265
266
# File 'lib/rbbt/util/log.rb', line 264

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

#fff(object) ⇒ Object



212
213
214
215
216
217
218
# File 'lib/rbbt/util/log.rb', line 212

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, file = $stdout) ⇒ Object



256
257
258
# File 'lib/rbbt/util/log.rb', line 256

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

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



232
233
234
# File 'lib/rbbt/util/log.rb', line 232

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

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



248
249
250
# File 'lib/rbbt/util/log.rb', line 248

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

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



224
225
226
# File 'lib/rbbt/util/log.rb', line 224

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

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



252
253
254
# File 'lib/rbbt/util/log.rb', line 252

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

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



228
229
230
# File 'lib/rbbt/util/log.rb', line 228

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

#ppp(message) ⇒ Object



204
205
206
207
208
209
210
# File 'lib/rbbt/util/log.rb', line 204

def ppp(message)
  stack = caller
  puts "#{Log.color :cyan, "PRINT:"} " << stack.first
  puts ""
  puts "=> " << message
  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



260
261
262
# File 'lib/rbbt/util/log.rb', line 260

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

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



236
237
238
# File 'lib/rbbt/util/log.rb', line 236

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