Module: Emasser::Help
- Defined in:
- lib/emasser/help.rb
Class Method Summary collapse
Class Method Details
.text(namespaced_command) ⇒ Object
5 6 7 8 9 |
# File 'lib/emasser/help.rb', line 5 def text(namespaced_command) path = namespaced_command.to_s.tr(':', '/') path = File.("../help/#{path}.md", __FILE__) File.read(path) if File.exist?(path) end |