Sha256: 66357375f4830b17a6f8a0c00367f2a9ef17e8e861c06109b627e4f796a8724e
Contents?: true
Size: 676 Bytes
Versions: 4
Compression:
Stored size: 676 Bytes
Contents
require "rubycritic/analysers/helpers/methods_counter" require "rubycritic/analysers/helpers/modules_locator" require "rubycritic/colorize" module Rubycritic module Analyser class Attributes include Colorize def initialize(analysed_modules) @analysed_modules = analysed_modules end def run @analysed_modules.each do |analysed_module| analysed_module.methods_count = MethodsCounter.new(analysed_module).count analysed_module.name = ModulesLocator.new(analysed_module).first_name print green "." end puts "" end def to_s "attributes" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems