Sha256: dea1b3d1482ea9532403c82847c513e84efda470c45ceb09f8c8ba0fc88877d8

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module Emasser::Help
  class << self
    def text(namespaced_command)
      path = namespaced_command.to_s.tr(':', '/')
      path = File.expand_path("../help/#{path}.md", __FILE__)
      File.read(path) if File.exist?(path)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emasser-3.4.1 lib/emasser/help.rb