class Ariadne::UI::ColorDot::Component
Creates a colored circle.
def before_render
def before_render raise ArgumentError, "Color must be a 6-character hex string" unless color.match?(/\A[a-fA-F0-9]{6}\z/) end
Creates a colored circle.
def before_render raise ArgumentError, "Color must be a 6-character hex string" unless color.match?(/\A[a-fA-F0-9]{6}\z/) end