Class: ReverseAdoc::Converters::Ignore

Inherits:
Base
  • Object
show all
Defined in:
lib/reverse_adoc/converters/ignore.rb

Instance Method Summary collapse

Methods inherited from Base

#constrained?, #escape_keychars, #extract_title, #node_has_ancestor?, #textnode_before_end_with?, #treat, #treat_children, #treat_children_coradoc, #treat_coradoc, #unconstrained_after?, #unconstrained_before?

Instance Method Details

#convert(_node, _state = {}) ⇒ Object



8
9
10
# File 'lib/reverse_adoc/converters/ignore.rb', line 8

def convert(_node, _state = {})
  "" # noop
end

#to_coradoc(node, state = {}) ⇒ Object



4
5
6
# File 'lib/reverse_adoc/converters/ignore.rb', line 4

def to_coradoc(node, state = {})
  convert(node, state)
end