method

register_block_for

rails latest stable - Class: Rails::Railtie
register_block_for(type, &blk)
private

receives an instance variable identifier, set the variable value if is blank and append given block to value, which will be used later in `#each_registered_block(type, &block)`