Sha256: 937ad0e6fefe490f07072e61493dbc97a28d403d8957edc048ed720cf5c06fdf

Contents?: true

Size: 198 Bytes

Versions: 2

Compression:

Stored size: 198 Bytes

Contents

module TimeCrisis::Weekend
  def weekend?
    [6, 7].include? self.cwday
  end
end

::TimeCrisis::Date.send(:include, TimeCrisis::Weekend)
::TimeCrisis::DateTime.send(:include, TimeCrisis::Weekend)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
time_crisis-0.1.6 lib/time_crisis/weekend.rb
time_crisis-0.1.5 lib/time_crisis/weekend.rb