Module: LabInterface::ClassMethods
- Defined in:
- lib/ruby_astm/lab_interface.rb
Overview
CLASS METHODS
Instance Method Summary collapse
Instance Method Details
#default_mappings ⇒ Object
71 72 73 |
# File 'lib/ruby_astm/lab_interface.rb', line 71 def default_mappings File.join root_path,"mappings.json" end |
#log(message) ⇒ Object
62 63 64 65 |
# File 'lib/ruby_astm/lab_interface.rb', line 62 def log() puts "" + $redis.zadd("ruby_astm_log",Time.now.to_i,) end |
#root_path ⇒ Object
67 68 69 |
# File 'lib/ruby_astm/lab_interface.rb', line 67 def root_path File.dirname __dir__ end |