Top Level Namespace
Defined Under Namespace
Modules: Annotated, AnnotatedArray, AnnotatedModule, Annotation, Association, AssociationItem, CMD, ChainMethods, Colorize, 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: Color, FixWidthTable, Hash, KnowledgeBase, ParameterException, RBBTError, Step, WorkflowSOAP
Instance Method Summary
collapse
Instance Method Details
#ddd(message, file = $stdout) ⇒ Object
#ppp(message) ⇒ Object
84
85
86
87
88
89
90
|
# File 'lib/rbbt/util/log.rb', line 84
def ppp(message)
stack = caller
puts "#{Log::SEVERITY_COLOR[1]}PRINT:#{Log::SEVERITY_COLOR[0]} " << 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 %>"
246
247
248
|
# File 'lib/rbbt/util/color.rb', line 246
def rgb(*args)
Color.parse(*args)
end
|