method

_ensure_no_block

_ensure_no_block(got_block)
private

No documentation available.

# File actionpack/lib/action_view/vendor/builder/xmlmarkup.rb, line 299
    def _ensure_no_block(got_block)
      if got_block
        fail IllegalBlockError,
          "Blocks are not allowed on XML instructions"
      end
    end