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-1.5.0 lib/jets/commands/help.rb
jets-1.4.11 lib/jets/commands/help.rb
jets-1.4.10 lib/jets/commands/help.rb
jets-1.4.9 lib/jets/commands/help.rb
jets-1.4.8 lib/jets/commands/help.rb
jets-1.4.7 lib/jets/commands/help.rb
jets-1.4.6 lib/jets/commands/help.rb
jets-1.4.5 lib/jets/commands/help.rb
jets-1.4.4 lib/jets/commands/help.rb
jets-1.4.3 lib/jets/commands/help.rb
jets-1.4.2 lib/jets/commands/help.rb
jets-1.4.1 lib/jets/commands/help.rb
jets-1.4.0 lib/jets/commands/help.rb
jets-1.3.9 lib/jets/commands/help.rb
jets-1.3.8 lib/jets/commands/help.rb
jets-1.3.7 lib/jets/commands/help.rb
jets-1.3.6 lib/jets/commands/help.rb
jets-1.3.5 lib/jets/commands/help.rb
jets-1.3.4 lib/jets/commands/help.rb
jets-1.3.3 lib/jets/commands/help.rb