class PIM::MigrationDiscriminator
Constants
- DISCRIMINATORS
Public Class Methods
new(args = {})
click to toggle source
# File pim.rb, line 10434 def initialize args = {} @from = get_value(args, :from, :from_version) @to = get_value(args, :to, :to_version) @type = get_value(args, :type, :data_type) @model_name = get_value(args, :model_name, :data_model_name) @model_version = get_value(args, :model_version, :data_model_version) @pim_version = get_value(args, :pim_version, :syncmanager_version) end
Public Instance Methods
matches?(other)
click to toggle source
# File pim.rb, line 10443 def matches? other DISCRIMINATORS.each do |discriminator| return false if not matches_value?(self.send(discriminator), other.send(discriminator)) end return true end