Class: AccessLint::Audit

Inherits:
Object
  • Object
show all
Defined in:
lib/access_lint/audit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target) ⇒ Audit

Returns a new instance of Audit.



8
9
10
# File 'lib/access_lint/audit.rb', line 8

def initialize(target)
  @target = target
end

Instance Attribute Details

#targetObject (readonly)

Returns the value of attribute target.



6
7
8
# File 'lib/access_lint/audit.rb', line 6

def target
  @target
end

Instance Method Details

#runObject



12
13
14
# File 'lib/access_lint/audit.rb', line 12

def run
  perform_audit
end

#runnerObject



16
17
18
# File 'lib/access_lint/audit.rb', line 16

def runner
  @runner ||= Runner.new(@target)
end