Method: Playbook::PbProgressPills::ProgressPills#active_step

Defined in:
app/pb_kits/playbook/pb_progress_pills/progress_pills.rb

#active_step(step) ⇒ Object


27
28
29
# File 'app/pb_kits/playbook/pb_progress_pills/progress_pills.rb', line 27

def active_step(step)
  step <= active ? "_active" : "_inactive"
end