class Phlex::Tag
def build_attributes
def build_attributes @attributes .transform_values { _1.join(SPACE) } .map { |k, v| "#{k}=\"#{v}\"" } end
def call
def call raise NoMethodError end
def initialize(**attributes)
def initialize(**attributes) @attributes = attributes .transform_values { _1.split(SPACE) if _1.is_a?(String) } end
def meta_data
def meta_data ([self.class.value] + build_attributes).join(SPACE) end
def value
def value name.split(NAMESPACE_DELINEATOR).last.downcase end