Sha256: 3a3de0294c404c1dd520da85ea6215e50d3f27c5ce6bb3191fe6e298274bd533
Contents?: true
Size: 288 Bytes
Versions: 19
Compression:
Stored size: 288 Bytes
Contents
require 'delegate' class MenuSectionPresenter < SimpleDelegator def name yield(section.name) if section.respond_to? :name end def links @links ||= ThemePresentation.wrap_collection(section.links, MenuLinkPresenter) end private def section __getobj__ end end
Version data entries
19 entries across 19 versions & 1 rubygems