module Phlex::Component::Initializer
def initialize(*args, assigns: [], **kwargs, &block)
def initialize(*args, assigns: [], **kwargs, &block) assigns.each do |k, v| instance_variable_get(k) || instance_variable_set(k, v) end super(*args, **kwargs) template(&block) end