class ActiveAdmin::DSL

def run_registration_block(&block)

Runs the registration block inside this object
def run_registration_block(&block)
  instance_exec &block if block_given?
end