Sha256: f18043a04ad812898d61d6ff0cd7c6a171e3151270b45bcd3a39847ba022902f

Contents?: true

Size: 244 Bytes

Versions: 9

Compression:

Stored size: 244 Bytes

Contents

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

9 entries across 9 versions & 1 rubygems

Version Path
pipedream-0.4.8 lib/pipedream/help.rb
pipedream-0.4.7 lib/pipedream/help.rb
pipedream-0.4.6 lib/pipedream/help.rb
pipedream-0.4.5 lib/pipedream/help.rb
pipedream-0.4.4 lib/pipedream/help.rb
pipedream-0.4.3 lib/pipedream/help.rb
pipedream-0.4.2 lib/pipedream/help.rb
pipedream-0.4.1 lib/pipedream/help.rb
pipedream-0.4.0 lib/pipedream/help.rb