Method: Inspec::Resources::Shadow#initialize

Defined in:
lib/inspec/resources/shadow.rb

#initialize(path = "/etc/shadow", opts = {}) ⇒ Shadow

Returns a new instance of Shadow.



38
39
40
41
42
# File 'lib/inspec/resources/shadow.rb', line 38

def initialize(path = "/etc/shadow", opts = {})
  @opts = opts
  @path = path || "/etc/shadow"
  @filters = @opts[:filters] || ""
end