Sha256: 939497822f144cda4be04b98fcf76184b541dd8ceb42b29b32ad765e03a031f8
Contents?: true
Size: 361 Bytes
Versions: 14
Compression:
Stored size: 361 Bytes
Contents
module Rbexy module Nodes class Root < AbstractNode attr_accessor :children def initialize(children) @children = children end def precompile Root.new(compact(children.map(&:precompile).flatten)) end def compile "#{children.map(&:compile).join}@output_buffer.to_s" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems