Class: StackMaster::TemplateCompilers::SparkleFormation

Inherits:
Object
  • Object
show all
Defined in:
lib/stack_master/template_compilers/sparkle_formation.rb

Class Method Summary collapse

Class Method Details

.compile(template_file_path) ⇒ Object



3
4
5
6
# File 'lib/stack_master/template_compilers/sparkle_formation.rb', line 3

def self.compile(template_file_path)
  ::SparkleFormation.sparkle_path = File.dirname(template_file_path)
  JSON.pretty_generate(::SparkleFormation.compile(template_file_path))
end