Class: GfmToBlockkit::Converters::ThematicBreak

Inherits:
Base
  • Object
show all
Defined in:
lib/gfm_to_blockkit/converters/thematic_break.rb

Instance Method Summary collapse

Methods inherited from Base

converter_for, handles, #initialize, #render_child_as_elements

Constructor Details

This class inherits a constructor from GfmToBlockkit::Converters::Base

Instance Method Details

#convert(_node) ⇒ Object



8
9
10
# File 'lib/gfm_to_blockkit/converters/thematic_break.rb', line 8

def convert(_node)
  [{type: "divider"}]
end