module Teuton
Main Teuton
functions
Public Class Methods
check(path_to_rb_file)
click to toggle source
Simulate play Teuton
project, check syntax and display stats. @param path_to_rb_file [String] Path to main rb file.
# File lib/teuton.rb, line 37 def self.check(path_to_rb_file) Project.check(path_to_rb_file, options) end
create(path_to_new_dir)
click to toggle source
Create new Teuton
project
# File lib/teuton.rb, line 10 def self.create(path_to_new_dir) Skeleton.create(path_to_new_dir) end
play(path_to_rb_file, options = {})
click to toggle source
Play (run) Teuton
project. @param path_to_rb_file [String] Path to main rb file. @param options [Hash] Options like
-
:export [String]
-
:cname [String]
-
:cpath [String]
-
:case [String]
-
:quiet [Boolean]
# File lib/teuton.rb, line 23 def self.play(path_to_rb_file, options = {}) Project.play(path_to_rb_file, options) end
readme(path_to_rb_file)
click to toggle source
Generate readme for Teuton
project. @param path_to_rb_file [String] Path to main rb file.
# File lib/teuton.rb, line 30 def self.readme(path_to_rb_file) Project.readme(path_to_rb_file, options) end
version()
click to toggle source
Display Teuton
version
# File lib/teuton.rb, line 43 def self.version print Rainbow(Application::NAME).bright.blue puts ' (version ' + Rainbow(Application::VERSION).green + ')' end