module LabInterface::ClassMethods
CLASS METHODS
Public Instance Methods
default_mappings()
click to toggle source
# File lib/ruby_astm/lab_interface.rb, line 71 def default_mappings File.join root_path,"mappings.json" end
log(message)
click to toggle source
# File lib/ruby_astm/lab_interface.rb, line 62 def log(message) puts message $redis.zadd("ruby_astm_log",Time.now.to_i,message) end
root_path()
click to toggle source
# File lib/ruby_astm/lab_interface.rb, line 67 def root_path File.dirname __dir__ end