Sha256: 94d0685e886225f55a89ea29b2fa3d0d4d0b1f108022d254332abc60622a3b3e
Contents?: true
Size: 954 Bytes
Versions: 6
Compression:
Stored size: 954 Bytes
Contents
module ShopPackages module Interface module Packages def self.included(base) base.send :include, InstanceMethods end module InstanceMethods attr_accessor :packages protected def load_default_shop_packages_regions returning OpenStruct.new do |packages| packages.edit = Radiant::AdminUI::RegionSet.new do |edit| edit.main.concat %w{head form popups} edit.form.concat %w{inputs meta parts foot} edit.foot.concat %w{buttons timestamp} end packages.new = packages.edit packages.index = Radiant::AdminUI::RegionSet.new do |index| index.head.concat %w{} index.body.concat %w{name modify} index.foot.concat %w{buttons} end packages.remove = packages.index end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems