module Nodus
-
modification graph
-
timings in graph
-
current-data per thread/context
-
data appending
-
data freezing/locking per thread/context
Constants
- SRCDIR
Public Class Methods
_error_msg(klass)
click to toggle source
# File lib/nodus.rb, line 16 def self._error_msg(klass) @_error_msg_map[klass] end
const_missing(cname)
click to toggle source
Calls superclass method
# File lib/nodus.rb, line 18 def self.const_missing(cname) m = "nodus/#{cname.to_s.underscore}" require m klass = const_get(cname) return klass if klass super end
def_exception(sym, msg, superclass=RuntimeError)
click to toggle source
# File lib/nodus.rb, line 10 def self.def_exception(sym, msg, superclass=RuntimeError) klass = Class.new(superclass) Nodus.const_set(sym, klass) @_error_msg_map[klass] = msg end
timestamp()
click to toggle source
# File lib/nodus/token.rb, line 12 def self.timestamp # Use a better Process.clock_gettime time instead (not supported by rubinius yet) Time.now end