Class: Fasterer::Github::Scanner
- Inherits:
-
Object
- Object
- Fasterer::Github::Scanner
- Defined in:
- lib/fasterer/github/scanner.rb
Instance Method Summary collapse
-
#initialize(owner, repo, path) ⇒ Scanner
constructor
A new instance of Scanner.
- #results ⇒ Object
- #run ⇒ Object
Constructor Details
#initialize(owner, repo, path) ⇒ Scanner
Returns a new instance of Scanner.
8 9 10 11 12 |
# File 'lib/fasterer/github/scanner.rb', line 8 def initialize(owner, repo, path) @owner = owner @repo = repo @path = path end |
Instance Method Details
#results ⇒ Object
19 20 21 |
# File 'lib/fasterer/github/scanner.rb', line 19 def results output_composer.result end |
#run ⇒ Object
14 15 16 17 |
# File 'lib/fasterer/github/scanner.rb', line 14 def run data = traverse_and_collect_data data.each { |d| analyze_code(d) } end |