Sha256: 6f007b7c0be497318c6d307a8d870e520dbd3406d07c0995b62598e165a639d1
Contents?: true
Size: 992 Bytes
Versions: 20
Compression:
Stored size: 992 Bytes
Contents
require 'rails_admin/config/proxyable' require 'rails_admin/config/configurable' require 'rails_admin/config/inspectable' require 'rails_admin/config/has_fields' require 'rails_admin/config/has_groups' require 'rails_admin/config/has_description' module RailsAdmin module Config module Sections # Configuration of the show view for a new object class Base include RailsAdmin::Config::Proxyable include RailsAdmin::Config::Configurable include RailsAdmin::Config::Inspectable include RailsAdmin::Config::HasFields include RailsAdmin::Config::HasGroups include RailsAdmin::Config::HasDescription attr_reader :abstract_model attr_reader :parent, :root NAMED_INSTANCE_VARIABLES = [:@parent, :@root, :@abstract_model].freeze def initialize(parent) @parent = parent @root = parent.root @abstract_model = root.abstract_model end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems