Sha256: fed84dee66329f1efe0a90b371ca35b3dc7f8805b1b09d23099b80a84d16bbfb

Contents?: true

Size: 243 Bytes

Versions: 7

Compression:

Stored size: 243 Bytes

Contents

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

7 entries across 7 versions & 1 rubygems

Version Path
codepipeline-0.3.4 lib/codepipe/help.rb
codepipeline-0.3.3 lib/codepipe/help.rb
codepipeline-0.3.2 lib/codepipe/help.rb
codepipeline-0.3.1 lib/codepipe/help.rb
codepipeline-0.3.0 lib/codepipe/help.rb
codepipeline-0.2.1 lib/codepipe/help.rb
codepipeline-0.2.0 lib/codepipe/help.rb