Method: Sc2::Paths.template_root

Defined in:
lib/sc2ai/paths.rb

.template_rootPathname

Directory of template folders

Returns:

  • (Pathname)

    path to where template directories live, i.e. “new” and “ladder”



212
213
214
# File 'lib/sc2ai/paths.rb', line 212

def template_root
  Pathname.new(__dir__.to_s).parent.join("templates").expand_path
end