instance method _ensure_no_block

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18 Private

Available in: v2.2.3 v2.3.18

Signature

_ensure_no_block(got_block)

No documentation comment.

Parameters

got_block req
Source
# File activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb, line 319
    def _ensure_no_block(got_block)
      if got_block
        fail IllegalBlockError,
        "Blocks are not allowed on XML instructions"
      end
    end

Defined in activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb line 319 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Builder::XmlMarkup

Type at least 2 characters to search.

↑↓ navigate · open · esc close