Class: Lydown::Rendering::Comment
- 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
#translate ⇒ Object
3 4 5 |
# File 'lib/lydown/rendering/comments.rb', line 3 def translate @context.emit(:music, "\n%{#{@event[:content]}%}\n") end |