Sha256: 2925001a020ca14f468ddb61f9e33d5ed557dcc93631b42ea926b74a20898d19
Contents?: true
Size: 497 Bytes
Versions: 36
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true module Stepmod module Utils module Converters class Note < ReverseAdoc::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
36 entries across 36 versions & 1 rubygems