Class: Duby::AST::JRubyAst::DStrNode

Inherits:
Object
  • Object
show all
Defined in:
lib/duby/transform.rb

Instance Method Summary collapse

Instance Method Details

#transform(transformer, parent) ⇒ Object



375
376
377
378
379
# File 'lib/duby/transform.rb', line 375

def transform(transformer, parent)
  StringConcat.new(parent, position) do |p|
    child_nodes.map{|n| n.transform(transformer, p)}
  end
end