Sha256: 63d2f519a0d7a55655cb9c3eab7f8bae76f81a1dd6d88f754a699e986bb80ae7
Contents?: true
Size: 431 Bytes
Versions: 6
Compression:
Stored size: 431 Bytes
Contents
module Fierce class StageManager attr_reader :template def initialize(template) @template = template end delegate :virtual_path, :source, to: :template def stage <<-RUBY content = #{source.inspect} path = #{virtual_path.inspect} Fierce::MasterOfCeremonies.new( content, path, local_assigns, controller, self ).render RUBY end end end
Version data entries
6 entries across 6 versions & 1 rubygems