lib/activefacts/generate/absorption.rb in activefacts-0.6.0 vs lib/activefacts/generate/absorption.rb in activefacts-0.7.0
- old
+ new
@@ -11,10 +11,10 @@
class ABSORPTION
include Metamodel
def initialize(vocabulary, *options)
@vocabulary = vocabulary
- @vocabulary = @vocabulary.Vocabulary.values[0] if ActiveFacts::Constellation === @vocabulary
+ @vocabulary = @vocabulary.Vocabulary.values[0] if ActiveFacts::API::Constellation === @vocabulary
@no_columns = options.include? "no_columns"
@dependent = options.include? "dependent"
@paths = options.include? "paths"
@no_identifier = options.include? "no_identifier"
end