lib/activefacts/generator/transgen.rb in activefacts-compositions-1.9.22 vs lib/activefacts/generator/transgen.rb in activefacts-compositions-1.9.23
- old
+ new
@@ -17,10 +17,16 @@
def self.options
{
}
end
- def initialize composition, options = {}
+ def self.compatibility
+ # REVISIT: This should accept 2 compositions
+ [1, %i{relational}]
+ end
+
+ def initialize constellation, composition, options = {}
+ @constellation = constellation
@composition = composition
@options = options
end
def generate