Sha256: cbc582e7261e7fbb387f041e2d83282e56510f8efeac3f159f8c72f9cdc1799d
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
module Ecic::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 def short_text(namespaced_command) path = namespaced_command.to_s.gsub(':','/') path = File.expand_path("../help/#{path}_short.md", __FILE__) IO.read(path) if File.exist?(path) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecic-0.1.0 | lib/ecic/help.rb |