Sha256: c7c06c7494e171c721c187a947487100158847525720f307cd60764a52232193

Contents?: true

Size: 245 Bytes

Versions: 4

Compression:

Stored size: 245 Bytes

Contents

module JekyllSort::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

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-sort-0.3.1 lib/jekyll_sort/help.rb
jekyll-sort-0.3.0 lib/jekyll_sort/help.rb
jekyll-sort-0.2.0 lib/jekyll_sort/help.rb
jekyll-sort-0.1.0 lib/jekyll_sort/help.rb