Module: Ejs::Grammar::StaticContent0

Defined in:
lib/ejs/grammar.rb

Instance Method Summary collapse

Instance Method Details

#node_typeObject



257
258
259
# File 'lib/ejs/grammar.rb', line 257

def node_type
  "static_content"
end

#text_valueObject



261
262
263
264
265
# File 'lib/ejs/grammar.rb', line 261

def text_value
  elements.map do |element|
    element.text_value
  end.join('')
end