Class: Lydown::Translation::Ripple::Command

Inherits:
Root
  • Object
show all
Defined in:
lib/lydown/translation/ripple/nodes.rb

Instance Method Summary collapse

Methods inherited from Root

#_translate, #check_line_break, #source_line

Instance Method Details

#translate(stream, opts) ⇒ Object



202
203
204
205
# File 'lib/lydown/translation/ripple/nodes.rb', line 202

def translate(stream, opts)
  cmd = text_value.gsub(' ', ':')
  stream << " #{cmd} "
end