Sha256: 69b9f3b32f0f4cf293d2ef716ccd19fda36f3810b2b88376986ff3303a7c463f
Contents?: true
Size: 527 Bytes
Versions: 8
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
8 entries across 8 versions & 1 rubygems