Sha256: 3f06dd8d97b8072b865c1912b904b5429fa9d4f60c10d743faf3d715bd7322ec

Contents?: true

Size: 239 Bytes

Versions: 20

Compression:

Stored size: 239 Bytes

Contents

module Cody::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

20 entries across 20 versions & 1 rubygems

Version Path
cody-0.9.8 lib/cody/help.rb
cody-0.9.7 lib/cody/help.rb
cody-0.9.6 lib/cody/help.rb
cody-0.9.5 lib/cody/help.rb
cody-0.9.4 lib/cody/help.rb
cody-0.9.3 lib/cody/help.rb
cody-0.9.2 lib/cody/help.rb
cody-0.9.1 lib/cody/help.rb
cody-0.9.0 lib/cody/help.rb
cody-0.8.6 lib/cody/help.rb
cody-0.8.5 lib/cody/help.rb
cody-0.8.4 lib/cody/help.rb
cody-0.8.3 lib/cody/help.rb
cody-0.8.2 lib/cody/help.rb
cody-0.8.1 lib/cody/help.rb
cody-0.8.0 lib/cody/help.rb
cody-0.7.3 lib/cody/help.rb
cody-0.7.2 lib/cody/help.rb
cody-0.7.1 lib/cody/help.rb
cody-0.7.0 lib/cody/help.rb