Class: ActiveFacts::Generate::NULL

Inherits:
Object
  • Object
show all
Defined in:
lib/activefacts/generate/null.rb

Overview

Generate nothing from an ActiveFacts vocabulary. This is useful to check the file can be read ok. Invoke as

afgen --null <file>.cql

Instance Method Summary collapse

Instance Method Details

#generate(out = $>) ⇒ Object



25
26
27
# File 'lib/activefacts/generate/null.rb', line 25

def generate(out = $>)
  @vocabulary.tables if @tables || @columns || @indices
end