Class: ActiveAdmin::DSL
Overview
The Active Admin DSL. This class is where all the registration blocks are instance eval’d. This is the central place for the API given to users of Active Admin
Instance Method Summary collapse
-
#run_registration_block(config, &block) ⇒ Object
Runs the registration block inside this object.
Instance Method Details
#run_registration_block(config, &block) ⇒ Object
Runs the registration block inside this object
11 12 13 14 |
# File 'lib/active_admin/dsl.rb', line 11 def run_registration_block(config, &block) @config = config instance_eval &block end |