lib/activefacts/api/instance.rb in activefacts-api-1.9.12 vs lib/activefacts/api/instance.rb in activefacts-api-1.9.13
- old
+ new
@@ -24,10 +24,14 @@
raise
end
end
end
+ def constellation_variable_name
+ @@constellation_variable_name ||= "@constellation"
+ end
+
def is_a? klass
super || self.class.supertypes_transitive.include?(klass)
end
# List entities which have an identifying role played by this object.
@@ -156,9 +160,13 @@
end
module ClassMethods #:nodoc:
include ObjectType
# Add Instance class methods here
+
+ def constellation_variable_name
+ @@constellation_variable_name ||= "@constellation"
+ end
end
end
end
end