Module: Builder

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/lib/builder/xchar.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/test/helper.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/lib/builder/xchar.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/lib/builder/xchar.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/lib/builder/version.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/lib/builder/xmlbase.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/lib/builder/xmlevents.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/lib/builder/xmlmarkup.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/lib/builder/blankslate.rb

Overview

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.

Defined Under Namespace

Modules: XChar Classes: IllegalBlockError, Test, XmlBase, XmlEvents, XmlMarkup

Constant Summary collapse

VERSION_NUMBERS =
[
  VERSION_MAJOR = 3,
  VERSION_MINOR = 2,
  VERSION_BUILD = 4,
]
VERSION =
VERSION_NUMBERS.join(".")
BlankSlate =
::BlankSlate

Class Method Summary collapse

Class Method Details

.check_for_name_collision(klass, method_name, defined_constant = nil) ⇒ Object



13
14
15
16
17
18
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/builder-3.2.4/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