Class: Serverspec::Type::KernelModule

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/kernel_module.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect, #to_ary, #to_s

Constructor Details

This class inherits a constructor from Serverspec::Type::Base

Instance Method Details

#loaded?Boolean

Returns:

  • (Boolean)

3
4
5
# File 'lib/serverspec/type/kernel_module.rb', line 3

def loaded?
  @runner.check_kernel_module_is_loaded(@name)
end