Module: Ufo::CLI::Help
- Extended by:
- ActiveSupport::Concern, Help
- Defined in:
- lib/ufo/cli/help.rb
Instance Method Summary collapse
Instance Method Details
#text(namespaced_command) ⇒ Object
54 55 56 57 58 |
# File 'lib/ufo/cli/help.rb', line 54 def text(namespaced_command) path = namespaced_command.to_s.gsub(':','/') path = File.("../help/#{path}.md", __FILE__) IO.read(path) if File.exist?(path) end |