Sha256: 2074cf48a4f50db1dbbc264ae325e36ecb3ff48f2f6b25da3503836ca28147d2

Contents?: true

Size: 839 Bytes

Versions: 1

Compression:

Stored size: 839 Bytes

Contents

# = Gen 
#
# A flexible code generation system.
#
# Copyright (c) 2005, Navel Ltd (http://www.navel.gr)
# Copyright (c) 2005, George Moschovitis (http://www.gmosx.com)
#
# Gen (http://www.nitrohq.com) is copyrighted free software 
# created and maintained by George Moschovitis (mailto:gm@navel.gr) 
# and released under the standard BSD Licence. For details 
# consult the file doc/LICENCE.

class Gen
  
  # The version.

  Version = '0.26.0'

  # Library path.

  LibPath = File.dirname(__FILE__)
  
end

# The base generator class.
#--
# TODO: add support for cmdparse.
#++

class Gen
  attr_accessor :generator_dir

  def usage
    filename = File.join(@generator_dir, 'USAGE')
    puts "\n#{File.read(filename)}"
    exit 1
  end

  def setup
  end
  
  def run
  end
  
  def teardown
  end
end

# * George Moschovitis <gm@navel.gr>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gen-0.26.0 lib/gen.rb