Module: Gordon::Application::Types::Base

Included in:
JavaStandaloneApp, JavaWebApp, RubyStandaloneApp, RubyWebApp
Defined in:
lib/gordon/application/types.rb

Instance Method Summary collapse

Instance Method Details

#get_template_pathObject



5
6
7
8
9
10
# File 'lib/gordon/application/types.rb', line 5

def get_template_path
  curdir = File.dirname(__FILE__)
  template_path = File.join(curdir, 'templates', "#{get_template}.rb")

  File.expand_path(template_path)
end