lib/activefacts/generator/doc/glossary.rb in activefacts-compositions-1.9.8 vs lib/activefacts/generator/doc/glossary.rb in activefacts-compositions-1.9.9
- old
+ new
@@ -4,11 +4,10 @@
# Generate a glossary in HTML
#
# Copyright (c) 2009 Clifford Heath. Read the LICENSE file.
#
require 'activefacts/metamodel'
-require 'activefacts/registry'
require 'activefacts/compositions'
require 'activefacts/generator'
require 'byebug'
module ActiveFacts
@@ -23,10 +22,10 @@
}
end
# Base class for generators of object-oriented class libraries for an ActiveFacts vocabulary.
def initialize vocabulary, options = {}
- @vocabulary = vocabulary
+ @vocabulary = vocabulary # REVISIT: This should be a Composition here
@options = options
@gen_bootstrap = options.has_key?("gen_bootstrap")
end
def puts(*a)