Sha256: b6238c80ee15df98d5683dd164cf4c0ff14865cb42634d19832d20db02c9881e
Contents?: true
Size: 290 Bytes
Versions: 97
Compression:
Stored size: 290 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
97 entries across 97 versions & 1 rubygems