class Blufin::ScannerVue
Public Class Methods
scan(path)
click to toggle source
Scan Vue code. @return void
# File lib/scan/scanner_vue.rb, line 7 def self.scan(path) # Check path exists. Blufin::Terminal::error("Path does not exist: #{Blufin::Terminal::format_invalid(path)}") unless Blufin::Files::path_exists(path) @data = {} @errors = [] # Get all file(s) in path. Blufin::Files::get_files_in_dir(path, 'vue').each { |file| scan_file(file) } return @data, @errors end
Private Class Methods
scan_file(file)
click to toggle source
Scans a file. @return void
# File lib/scan/scanner_vue.rb, line 26 def self.scan_file(file) # TODO NOW - FINISH THIS! end