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}" else return source end end end end # * George Moschovitis