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
51 52 53 54 55 |
# File 'lib/ufo/cli/help.rb', line 51 def text(namespaced_command) path = namespaced_command.to_s.gsub(':','/') path = File.("../help/#{path}.md", __FILE__) IO.read(path) if File.exist?(path) end |