Class: Lydown::Rendering::Comment

Inherits:
Base
  • Object
show all
Defined in:
lib/lydown/rendering/comments.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/comments.rb', line 3

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