Sha256: 41dc899d81dc42562614ac901f682c5b5cb7bc6acf90edf19d93d0d286013727

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

class JetsUpgrade::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

2 entries across 2 versions & 1 rubygems

Version Path
jets-upgrade-0.1.1 lib/jets_upgrade/cli/help.rb
jets-upgrade-0.1.0 lib/jets_upgrade/cli/help.rb