module BBLib::HTML
Constants
- SELF_CLOSING_TAGS
- TAGS
Public Class Methods
build(*args, &block)
click to toggle source
# File lib/bblib/html/builder.rb, line 11 def self.build(*args, &block) Builder.build(*args, &block) end
self_close?(tag)
click to toggle source
# File lib/bblib/html/builder.rb, line 7 def self.self_close?(tag) SELF_CLOSING_TAGS.include?(tag.to_s.downcase) end