Module: Lydown::Parsing::CommentContent

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

Instance Method Summary collapse

Instance Method Details

#to_stream(stream, opts) ⇒ Object



41
42
43
# File 'lib/lydown/parsing/nodes.rb', line 41

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