module Phlex::Helpers

def tokens(*tokens, **conditional_tokens)

def tokens(*tokens, **conditional_tokens)
onal_tokens.each do |condition, token|
 = case condition
Symbol then send(condition)
Proc then condition.call
raise ArgumentError, "The class condition must be a Symbol or a Proc."
thy
token
 Hash then __append_token__(tokens, token[:then])
 __append_token__(tokens, token)
token
 Hash then __append_token__(tokens, token[:else])
join(" ")