module Builder
If the Builder::XChar module is not currently defined, fail on any name clashes in standard library classes.
Constants
- VERSION
- VERSION_NUMBERS
Public Class Methods
Source
# File lib/builder/xchar.rb, line 13 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