Sha256: b07416c59276db5f67d7ad2da55ca93bb491ab4fb83e45c332e14cb402f1fe91

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module Stepmod
  module Utils
    module Converters
      class ExpressRef < ReverseAdoc::Converters::Base
        def convert(node, _state = {})
          " *#{node['linkend'].to_s.split('.').last}*"
        end
      end
      ReverseAdoc::Converters.register :express_ref, ExpressRef.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stepmod-utils-0.3.8 lib/stepmod/utils/converters/express_ref.rb
stepmod-utils-0.3.7 lib/stepmod/utils/converters/express_ref.rb