Sha256: d5e19e059447f86783e2d1a6c7149350d6fad1e7d55a4cbc96befac2e91dd345
Contents?: true
Size: 350 Bytes
Versions: 9
Compression:
Stored size: 350 Bytes
Contents
module Redcar class Menu class LazyMenu < Menu def initialize(block, text=nil) @text = text @block = block end def entries Menu::Builder.build(&@block).entries end def <<(*_) raise end def merge(*_) raise end end end end
Version data entries
9 entries across 9 versions & 1 rubygems