Sha256: f86005a6cd584994ad3b563fd727e786cf91318ea41760e21bca308b1829d978

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'treetop'
require_relative 'node'

# A base piece of an Emerald file
class Root < Node
  def to_html(context)
    elements
      .map { |e| e.to_html(context) }
      .join("\n")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emerald-lang-1.0.0 lib/emerald/nodes/root.rb