Sha256: a4f65bd4c1b8ae631487f9baf2e9975a644e3eef31c13471fd58266205aaa9b2
Contents?: true
Size: 402 Bytes
Versions: 86
Compression:
Stored size: 402 Bytes
Contents
require "style_guide/section" require "forever_style_guide/partial" module ForeverStyleGuide class Section < StyleGuide::Section def icon @icon ||= ForeverStyleGuide::Engine.config.style_guide.style_guide_decorators['sections'][@id]['icon'] end def partials partial_paths.map { |path| ForeverStyleGuide::Partial.new(path, self) }.sort_by { |p| p.title } end end end
Version data entries
86 entries across 86 versions & 1 rubygems