Sha256: 503b52c9fee98a1fd25e2b79dc9d9091eeeba9d8ce23d90d5d6ae2ea85509b00
Contents?: true
Size: 422 Bytes
Versions: 5
Compression:
Stored size: 422 Bytes
Contents
module Nitro # A compiler that handles Rails style simplistic layouts. # Perhaps this will be useful for some people that are comming # from Rails. class LayoutCompiler # :nodoc: all def self.transform(source, compiler) if layout = compiler.controller.ann.self[:layout] return "<#{layout}>#{source}</#{layout}>" else return source end end end end # * George Moschovitis <gm@navel.gr>
Version data entries
5 entries across 5 versions & 1 rubygems