Sha256: c16aa87d93544dccb1c48ecb7650569547ccfd40c960a71d48f08a29c2cc2f08

Contents?: true

Size: 247 Bytes

Versions: 8

Compression:

Stored size: 247 Bytes

Contents

module ThorTemplate::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
  end
end

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
thor_template-2.2.1 lib/starter_project/lib/thor_template/help.rb
thor_template-2.2.1 lib/thor_template/help.rb
thor_template-2.2.0 lib/starter_project/lib/thor_template/help.rb
thor_template-2.2.0 lib/thor_template/help.rb
thor_template-2.1.1 lib/starter_project/lib/thor_template/help.rb
thor_template-2.1.1 lib/thor_template/help.rb
thor_template-2.1.0 lib/starter_project/lib/thor_template/help.rb
thor_template-2.1.0 lib/thor_template/help.rb