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.3.2 lib/jets/commands/help.rb
jets-1.3.1 lib/jets/commands/help.rb
jets-1.3.0 lib/jets/commands/help.rb
jets-1.2.1 lib/jets/commands/help.rb
jets-1.2.0 lib/jets/commands/help.rb
jets-1.1.5 lib/jets/commands/help.rb
jets-1.1.4 lib/jets/commands/help.rb
jets-1.1.3 lib/jets/commands/help.rb
jets-1.1.2 lib/jets/commands/help.rb
jets-1.1.1 lib/jets/commands/help.rb
jets-1.1.0 lib/jets/commands/help.rb
jets-1.0.18 lib/jets/commands/help.rb
jets-1.0.17 lib/jets/commands/help.rb
jets-1.0.16 lib/jets/commands/help.rb
jets-1.0.15 lib/jets/commands/help.rb
jets-1.0.13 lib/jets/commands/help.rb
jets-1.0.12 lib/jets/commands/help.rb
jets-1.0.11 lib/jets/commands/help.rb
jets-1.0.10 lib/jets/commands/help.rb
jets-1.0.9 lib/jets/commands/help.rb