lib/appfuel/domain/entity.rb in appfuel-0.5.13 vs lib/appfuel/domain/entity.rb in appfuel-0.5.14
- old
+ new
@@ -250,10 +250,10 @@
instance_variable_get("@#{key}").freeze
end
def undefined?(value)
- Types::Undefined
+ value == Types::Undefined
end
def is_entity?(value, type)
value.respond_to?(:domain_name) && value.domain_name == type.domain_name
end