Sha256: 2f1c2729078dd36ccaec25b598e4766599daaf7b8b46c2b05ef9065ec82bd5c3

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glb-0.1.1 lib/glb/cli/help.rb