Sha256: f0e0ba4f046be4ad5f0516788228f5acfc630c249918660eb3cf988d6801c007

Contents?: true

Size: 238 Bytes

Versions: 73

Compression:

Stored size: 238 Bytes

Contents

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

73 entries across 73 versions & 1 rubygems

Version Path
ufo-5.0.7 lib/ufo/help.rb
ufo-5.0.6 lib/ufo/help.rb
ufo-5.0.5 lib/ufo/help.rb
ufo-5.0.4 lib/ufo/help.rb
ufo-5.0.3 lib/ufo/help.rb
ufo-5.0.2 lib/ufo/help.rb
ufo-5.0.1 lib/ufo/help.rb
ufo-5.0.0 lib/ufo/help.rb
ufo-4.6.3 lib/ufo/help.rb
ufo-4.6.2 lib/ufo/help.rb
ufo-4.6.1 lib/ufo/help.rb
ufo-4.6.0 lib/ufo/help.rb
ufo-4.5.11 lib/ufo/help.rb
ufo-4.5.10 lib/ufo/help.rb
ufo-4.5.9 lib/ufo/help.rb
ufo-4.5.8 lib/ufo/help.rb
ufo-4.5.7 lib/ufo/help.rb
ufo-4.5.6 lib/ufo/help.rb
ufo-4.5.5 lib/ufo/help.rb
ufo-4.5.4 lib/ufo/help.rb