class Osm::Register::Attendance
Constants
- SORT_BY
Public Instance Methods
absent_on?(date)
click to toggle source
Find out if the member was absent on a date @param [Date] date The date to check attendance for @return [Boolean] whether the member was absent on the given date
# File lib/osm/register.rb, line 219 def absent_on?(date) attendance[date] != :yes end
present_on?(date)
click to toggle source
Find out if the member was present on a date @param [Date] date The date to check attendance for @return [Boolean] whether the member was presnt on the given date
# File lib/osm/register.rb, line 212 def present_on?(date) attendance[date] == :yes end