class Playbook::PbProgressPills::ProgressPills
def active_step(step)
def active_step(step) step <= active ? "_active" : "_inactive" end
def aria_attributes
def aria_attributes return aria if aria.present? { hidden: true } end
def classname
def classname generate_classname("pb_progress_pills_kit") end
def dark_pill
def dark_pill dark ? " dark" : nil end
def each_step(&block)
def each_step(&block) 1.upto(steps, &block) end
def with_status
def with_status yield title if title.present? end