Sha256: f76c058bfa53ad0c8b75fda45aa355d3ab10ff8f66897b2553f37f5b47cab046

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

require 'md_inc/version'
require 'md_inc/md_inc_commands'

module MdInc
  class TextProcessor
    def root(path)
      Commands.root(path)
    end

    def process(string)
      Commands.process(string)
    end

    def process_stream(stream)
      Commands.process(stream.read)
    end

    def process_file(path)
      Commands.process(File.read(path))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
md_inc-0.2.9 lib/md_inc.rb
md_inc-0.2.8 lib/md_inc.rb