Sha256: 4c99887b7375f00b8f7dacc0b7ab512d9cfddb605f8e666623e2df27440edfe4

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

#
#       ActiveFacts Generators.
#       Provides version number from the --version option
#
# Copyright (c) 2009 Clifford Heath. Read the LICENSE file.
#
require 'activefacts/persistence'

module ActiveFacts
  module Generate
    # Generate nothing from an ActiveFacts vocabulary. This is useful to check the file can be read ok.
    # Invoke as
    #   afgen --null <file>.cql
    class VERSION
    private
      def initialize(vocabulary, *options)
        puts ActiveFacts::VERSION
        exit 0
      end

    public
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activefacts-0.8.16 lib/activefacts/generate/version.rb
activefacts-0.8.15 lib/activefacts/generate/version.rb