YaleSTC/shifts

View on GitHub
app/helpers/punch_clocks_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module PunchClocksHelper

  def punch_clock_class(clock)
    if clock.paused?
      return "paused"
    else
      return "running"
    end
  end

end