Class: Lydown::Rendering::Literal

Inherits:
Base
  • Object
show all
Defined in:
lib/lydown/rendering/literal.rb

Instance Method Summary collapse

Methods inherited from Base

#find_prev_event, #initialize, #next_event, #prev_event

Constructor Details

This class inherits a constructor from Lydown::Rendering::Base

Instance Method Details

#translateObject



3
4
5
# File 'lib/lydown/rendering/literal.rb', line 3

def translate
  @context.emit(:music, "#{@event[:content]} ")
end