Sha256: fd251e2ebcd477c0e17d84badec178a35187386ca947eb38a7b0e3d653410a96

Contents?: true

Size: 243 Bytes

Versions: 4

Compression:

Stored size: 243 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
dynomite-2.0.3 lib/dynomite/help.rb
dynomite-2.0.2 lib/dynomite/help.rb
dynomite-2.0.1 lib/dynomite/help.rb
dynomite-2.0.0 lib/dynomite/help.rb