Sha256: bf691cfb80dc8437db113418f96506df293782bdc4eb4d02f5f94db64da28969

Contents?: true

Size: 249 Bytes

Versions: 255

Compression:

Stored size: 249 Bytes

Contents

module Jets::Commands::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

Version data entries

255 entries across 255 versions & 4 rubygems

Version Path
jets-4.0.12 lib/jets/commands/help.rb
jets-4.0.11 lib/jets/commands/help.rb
jets-4.0.10 lib/jets/commands/help.rb
jets-4.0.9 lib/jets/commands/help.rb
jets-4.0.8 lib/jets/commands/help.rb
jets-4.0.7 lib/jets/commands/help.rb
jets-4.0.6 lib/jets/commands/help.rb
jets-4.0.5 lib/jets/commands/help.rb
jets-4.0.4 lib/jets/commands/help.rb
jets-4.0.3 lib/jets/commands/help.rb
jets-4.0.2 lib/jets/commands/help.rb
jets-4.0.1 lib/jets/commands/help.rb
jets-4.0.0 lib/jets/commands/help.rb
jets-3.2.2 lib/jets/commands/help.rb
jets-3.2.1 lib/jets/commands/help.rb
jets.benforeva-3.0.17.pre.mount.pre.fix lib/jets/commands/help.rb
jets-3.2.0 lib/jets/commands/help.rb
jets-3.1.5 lib/jets/commands/help.rb
jets-3.1.4 lib/jets/commands/help.rb
jets-3.1.3 lib/jets/commands/help.rb