lib/dynflow/serializable.rb in dynflow-0.8.3 vs lib/dynflow/serializable.rb in dynflow-0.8.4
- old
+ new
@@ -25,10 +25,10 @@
def self.check_class_key_present(hash)
raise ArgumentError, "missing :class in #{hash.inspect}" unless hash[:class]
end
def self.constantize(action_name)
- action_name.constantize
+ Utils.constantize(action_name)
end
private_class_method :check_class_matching, :check_class_key_present
private