class Flowcation::Runtime

Public Class Methods

register_layouts_from_config(config={}) click to toggle source
# File lib/flowcation/runtime.rb, line 10
def self.register_layouts_from_config(config={})
  config&.each do |name, options|
    instance.register_layout Layout.from_config(options)
  end
end
register_partial_from_config(config={}) click to toggle source
# File lib/flowcation/runtime.rb, line 22
def self.register_partial_from_config(config={})
  config&.each do |name, options|
    instance.register_partial Partial.from_config(options)
  end
end
register_templates_from_config(config={}) click to toggle source
# File lib/flowcation/runtime.rb, line 16
def self.register_templates_from_config(config={})
  config&.each do |name, options|
    instance.register_template Template.from_config(options)
  end
end