Sha256: d55e82f94710d8564603771e542979e8120f8c638f049f926f7c76d032112739
Contents?: true
Size: 430 Bytes
Versions: 12
Compression:
Stored size: 430 Bytes
Contents
class ParsedFile include PoroPlus include Ephemeral::Base attr_accessor :path_to_file, :class_name def class_name @class_name ||= analyzer.extract_class_name end def content @content ||= File.open(path_to_file, "r").read end def analyzer Analyzer.new(content) end def complexity @complexity ||= analyzer.complexity end def methods @methods ||= analyzer.extract_methods end end
Version data entries
12 entries across 12 versions & 1 rubygems