Class Ohai::DSL::Plugin
In: lib/ohai/dsl/plugin.rb
lib/ohai/dsl/plugin/versionvi.rb
lib/ohai/dsl/plugin/versionvii.rb
Parent: Object

Methods

[]   []=   attribute?   each   from   from_with_regex   get_attribute   has_key?   has_run?   hint?   method_missing   new   reset!   run   safe_run   set   set_attribute  

Included Modules

Ohai::Mixin::OS Ohai::Mixin::Command Ohai::Mixin::SecondsToHuman

Classes and Modules

Class Ohai::DSL::Plugin::VersionVI
Class Ohai::DSL::Plugin::VersionVII

Attributes

data  [R] 

Public Class methods

Public Instance methods

attribute?(name)

Alias for has_key?

Set the value equal to the stdout of the command, plus run through a regex - the first piece of match data is # the value.

emulates the old plugin loading behavior

[Validate]