Class: ActiveFacts::Generators::TEXT
- Inherits:
-
Object
- Object
- ActiveFacts::Generators::TEXT
- Defined in:
- lib/activefacts/generators/text.rb
Overview
Generate a text verbalisation of the metamodel constellation created for an ActiveFacts vocabulary. Invoke as
afgen --text <file>.cql
Instance Method Summary collapse
Instance Method Details
#generate(out = $>) ⇒ Object
22 23 24 |
# File 'lib/activefacts/generators/text.rb', line 22 def generate(out = $>) out.puts @vocabulary.constellation.verbalise end |