Sha256: 4a8f9542f40b63054f33b14b6916826a06772444991043e962ef3dc1e1b00b84
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
require "ohai" module Kurchatov module Ohai def self.data @ohai ||= ::Ohai::System.new Log.info("Load ohai plugins") @ohai.all_plugins @ohai.data end end module Mixin module Ohai class << self; attr_accessor :ohai_instance; end def ohai @ohai_instance ||= Kurchatov::Mixin::Ohai.ohai_instance ||= Kurchatov::Ohai.data end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kurchatov-0.0.2 | lib/kurchatov/mixin/ohai.rb |
kurchatov-0.0.2b | lib/kurchatov/mixin/ohai.rb |