Sha256: 7dc625bd4f31634c5721538c5f6c5ad07a83f939b711689a2f8c21ce686605e1
Contents?: true
Size: 501 Bytes
Versions: 13
Compression:
Stored size: 501 Bytes
Contents
# frozen_string_literal: true module Stepmod module Utils module Converters class Note < Stepmod::Utils::Converters::Base def convert(node, state = {}) # If we want to skip this node return "" if state[:no_notes_examples] <<~TEMPLATE [NOTE] -- #{treat_children(node, state).strip} -- TEMPLATE end end ReverseAdoc::Converters.register :note, Note.new end end end
Version data entries
13 entries across 13 versions & 1 rubygems