Sha256: 3d1d7ec8dbbb5b456d3225d0e29487bec4be37613801f06822305448c0c7e6a7
Contents?: true
Size: 708 Bytes
Versions: 8
Compression:
Stored size: 708 Bytes
Contents
module AmpHtml module Helpers class Help def self.all puts IO.read File.join AmpHtml.root, 'amp-html', 'helpers', 'docs', 'README.md' end def self.helper name begin if name == 'amp?' puts IO.read File.join AmpHtml.root, 'amp-html', 'helpers', 'docs', 'amp.md' else puts IO.read File.join AmpHtml.root, 'amp-html', 'helpers', 'docs', "#{name}.md" end rescue Exception warn 'Helper is not available' end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems