module Bibliothecary::Analyser
Public Class Methods
create_analysis(platform_name, relative_path, kind, dependencies)
click to toggle source
# File lib/bibliothecary/analyser.rb, line 19 def self.create_analysis(platform_name, relative_path, kind, dependencies) { platform: platform_name, path: relative_path, dependencies: dependencies, kind: kind, success: true, } end
create_error_analysis(platform_name, relative_path, kind, message, location=nil)
click to toggle source
# File lib/bibliothecary/analyser.rb, line 7 def self.create_error_analysis(platform_name, relative_path, kind, message, location=nil) { platform: platform_name, path: relative_path, dependencies: nil, kind: kind, success: false, error_message: message, error_location: location, } end
included(base)
click to toggle source
# File lib/bibliothecary/analyser.rb, line 29 def self.included(base) base.extend(ClassMethods) # Group like-methods into separate modules for easier comprehension. base.extend(Bibliothecary::Analyser::Matchers) base.extend(Bibliothecary::Analyser::Determinations) base.extend(Bibliothecary::Analyser::Analysis) end