Method: CommandLine.template_dir

Defined in:
lib/command_line.rb

.template_dirObject

Return the directory where the BrowserCMS templates reside.



29
30
31
32
33
# File 'lib/command_line.rb', line 29

def self.template_dir
  current_file = File.expand_path(File.dirname(__FILE__))
  gem_dir = File.join(current_file, "..")
  template_dir = File.join(gem_dir, "templates")
end