lib/omnibus/ohai.rb in omnibus-5.4.0 vs lib/omnibus/ohai.rb in omnibus-5.5.0

- old
+ new

@@ -12,19 +12,18 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # -require 'ohai' +require "ohai" module Omnibus class Ohai - PLUGINS = [ - 'cpu', - 'kernel', - 'os', - 'platform', - ].freeze + PLUGINS = %w{ +cpu +kernel +os +platform}.freeze class << self def method_missing(m, *args, &block) ohai.send(m, *args, &block) end