Module: Lydown::Parsing::CommentContent

Defined in:
lib/lydown/parsing/nodes.rb

Instance Method Summary collapse

Instance Method Details

#to_stream(stream) ⇒ Object



19
20
21
# File 'lib/lydown/parsing/nodes.rb', line 19

def to_stream(stream)
  stream << {type: :comment, content: text_value.strip}
end