Class: Fasterer::Github::Scanner
- Inherits:
-
Object
- Object
- Fasterer::Github::Scanner
- Defined in:
- lib/fasterer/github/scanner.rb
Constant Summary collapse
- CONFIG_FILE_NAME =
'.fasterer.yml'
- SPEEDUPS_KEY =
'speedups'
- EXCLUDE_PATHS_KEY =
'exclude_paths'
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.
13 14 15 16 17 |
# File 'lib/fasterer/github/scanner.rb', line 13 def initialize(owner, repo, path) @owner = owner @repo = repo @path = path end |
Instance Method Details
#results ⇒ Object
24 25 26 |
# File 'lib/fasterer/github/scanner.rb', line 24 def results output_composer.result end |
#run ⇒ Object
19 20 21 22 |
# File 'lib/fasterer/github/scanner.rb', line 19 def run data = traverse_and_collect_data data.each { |d| analyze_code(d) } end |