builder
builder copied to clipboard
Provide a simple way to create XML markup and data structures.
The `XmlMarkup` class overrides _any_ method that is not part of its class, including Object and/or Kernel methods. Simple examples: ```ruby [2] DEVELOPMENT(main)> xml = Builder::XmlMarkup.new => String ``` I'm...
If you use: ```ruby xml_builder = Builder::XmlMarkup.new(indent: 2) xml_builder.card do |card_builder| #... card_builder.description do card_builder.cdata!(description) end end ``` And then somewhere along the line add CDATA blocks to your tree,...
Testing with Ruby 3.0, I observe the following error: ~~~ $ ruby -Ilib:test -e 'Dir.glob "./test/test_blan*.rb", &method(:require)' -- -n /test_late_included_module_in_kernel_is_ok/ Run options: -n /test_late_included_module_in_kernel_is_ok/ --seed 30445 # Running: F Finished...
The page at https://rubygems.org/gems/builder links to the older repo for `source code, documentation, and bug tracker`. It would be helpful if those links pointed to this repository.
Since this is considered a forked repository, github won't allow us to search it. We can only search the original jimweirich one.
Files would need to have executable bit set to benefit from shebangs. But also the content would need to be prepared to be executable. This might be true for the...