class Lono::Template
Encapsulates helper methods and instance variables to be rendered in the ERB templates.
Public Instance Methods
bashify(path)
click to toggle source
# File lib/lono/template.rb, line 20 def bashify(path) Bashify.new(options.merge(path: path)).run end
generate(blueprint)
click to toggle source
# File lib/lono/template.rb, line 9 def generate(blueprint) Generator.new(options.merge(blueprint: blueprint)).run end
upload(blueprint)
click to toggle source
# File lib/lono/template.rb, line 14 def upload(blueprint) Upload.new(options.merge(blueprint: blueprint)).run end