Sha256: dbcee00b421b54081df8bfe41e56f971635e18b5c301c9324639e0d40fc38808
Contents?: true
Size: 542 Bytes
Versions: 14
Compression:
Stored size: 542 Bytes
Contents
module Analyst module EntityParser class ClassRelation attr_reader :type, :source, :target_class_name, :target def initialize(type:, source:, target_class_name:) @type = type @source = source @target_class_name = target_class_name end def resolve_target!(entity_list) unless @target = entity_list.detect{ |entity| entity.full_name == self.target_class_name } puts "WARNING: Couldn't find target: #{self.target_class_name}" end end end end end
Version data entries
14 entries across 13 versions & 1 rubygems