Sha256: 8d597d5a53442da6133834fe8db5ea06bf11b36e4822082a2830d216830922cc
Contents?: true
Size: 418 Bytes
Versions: 38
Compression:
Stored size: 418 Bytes
Contents
# frozen_string_literal: true require "stepmod/utils/converters/em" module Stepmod module Utils module Converters class Stem < ReverseAdoc::Converters::Base def convert(node, state = {}) return Em.new.convert(node, state) if node.text.strip.length > 8 " stem:[#{node.text.strip}] " end end ReverseAdoc::Converters.register :i, Stem.new end end end
Version data entries
38 entries across 38 versions & 1 rubygems