Sha256: 80fa4a8a3501d6b5fa7b64d3911574584e2ba40ffedafcd937dd195b5b18f8bc
Contents?: true
Size: 331 Bytes
Versions: 7
Compression:
Stored size: 331 Bytes
Contents
module Spree module Admin module MainMenu class Root < Section attr_reader :items def initialize super('root', 'root', nil, [], []) end def add_to_section(section_key, item) @items.find { |e| e.key == section_key }.add(item) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems