module ThorTemplate::Help

Public Class Methods

text(namespaced_command) click to toggle source
# File lib/starter_project/lib/thor_template/help.rb, line 3
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