Class: Delorean::DString

Inherits:
Literal
  • Object
show all
Defined in:
lib/delorean/nodes.rb

Instance Method Summary collapse

Methods inherited from Literal

#check

Instance Method Details

#rewrite(_context) ⇒ Object



331
332
333
334
335
# File 'lib/delorean/nodes.rb', line 331

def rewrite(_context)
  # remove the quotes and requote.  We don't want the likes of #{}
  # evals to just pass through.
  text_value[1..-2].inspect
end