Sha256: 6f4372b07c7d24d949ef0de70a2fe6a9f1e3d7c37e23ff1b06548301e24c036a
Contents?: true
Size: 527 Bytes
Versions: 4
Compression:
Stored size: 527 Bytes
Contents
module AmpHtml module Components class Help def self.all puts IO.read File.join AmpHtml.root, 'amp_html', 'components', 'docs', 'README.md' end def self.component name begin puts IO.read File.join AmpHtml.root, 'amp_html', 'components', 'docs', "#{name}.md" rescue Exception warn 'Component is not available' end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems