Sha256: c6234a7a0f0a03a823a027f6bd053abb83a58c68cc9084796ab1e3c3adebe7db
Contents?: true
Size: 936 Bytes
Versions: 4
Compression:
Stored size: 936 Bytes
Contents
module Inch module Evaluation def self.for(code_object) class_for(code_object).new(code_object) end private def self.class_for(code_object) class_name = code_object.class.to_s.split('::').last eval(class_name) rescue Base end end end require_relative 'evaluation/file' require_relative 'evaluation/score_range' require_relative 'evaluation/role/base' require_relative 'evaluation/role/missing' require_relative 'evaluation/role/object' require_relative 'evaluation/role/method' require_relative 'evaluation/role/method_parameter' require_relative 'evaluation/role/namespace' require_relative 'evaluation/role/constant' require_relative 'evaluation/base' require_relative 'evaluation/namespace_object' require_relative 'evaluation/class_object' require_relative 'evaluation/constant_object' require_relative 'evaluation/method_object' require_relative 'evaluation/module_object'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
inch-0.1.3 | lib/inch/evaluation.rb |
inch-0.1.2 | lib/inch/evaluation.rb |
inch-0.1.1 | lib/inch/evaluation.rb |
inch-0.1.0 | lib/inch/evaluation.rb |