Module: Builder

### Home Classes Methods

### In Files

- lib/builder/blankslate.rb
- lib/builder/version.rb
- lib/builder/xchar.rb
- lib/builder/xmlbase.rb
- lib/builder/xmlevents.rb
- lib/builder/xmlmarkup.rb

### Namespace

- CLASS Builder::BlankSlate
- CLASS Builder::IllegalBlockError
- CLASS Builder::XmlBase
- CLASS Builder::XmlEvents
- CLASS Builder::XmlMarkup

### Methods

- ::check_for_name_collision

### Files

- CHANGES
- MIT-LICENSE
- Rakefile
- builder-1.2.4.rdoc
- builder-2.0.0.rdoc
- builder-2.1.1.rdoc

### Class/Module Index

Quicksearch

- Builder
- Builder::BlankSlate
- Builder::IllegalBlockError
- Builder::XmlBase
- Builder::XmlEvents
- Builder::XmlMarkup
- BlankSlate
- Fixnum
- Kernel
- Module
- Object
- String
- Symbol

No matching classes.

# Builder

BlankSlate has been promoted to a top level name and is now available as a standalone gem. We make the name available in the Builder namespace for compatibility.

If the Builder::XChar module is not currently defined, fail on any name clashes in standard library classes.

### Constants

BlankSlate
VERSION
VERSION_NUMBERS

### Public Class Methods

check_for_name_collision(klass, method_name, defined_constant=nil) click to toggle source

    # File lib/builder/xchar.rb, line 12
    def self.check_for_name_collision(klass, method_name, defined_constant=nil)
      if klass.method_defined?(method_name.to_s)
        fail RuntimeError,
          "Name Collision: Method '#{method_name}' is already defined in #{klass}"
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.